GlisWeb framework
_src
_api
_task
_memcache.clean.php
Vai alla documentazione di questo file.
1
<?php
2
14
// misuro ricreando la cache
15
define(
'MEMCACHE_REFRESH'
, 1 );
16
17
// inclusione del framework
18
require_once
'../../../_src/_config.php'
;
19
20
// inizializzo l'array del risultato
21
$status
= array();
22
23
// faccio il flush della cache
24
$st
[
'esito'
] =
memcacheFlush
(
$cf
[
'memcache'
][
'connection'
] );
25
26
// headers
27
header(
'Access-Control-Allow-Origin: *'
);
28
29
// output
30
buildJson
(
$st
);
31
32
?>
$cf
$cf['ricerca']['template']
Definition:
_030.common.php:7
$st
$st['esito']
Definition:
_memcache.clean.php:24
$status
$status
Definition:
_memcache.clean.php:21
buildJson
buildJson( $content, $encoding=ENCODING_UTF8, $headers=array())
Definition:
_output.tools.php:38
memcacheFlush
memcacheFlush( $conn)
TODO vanno bloccate le scritture per almeno un secondo dopo il flush, vedi http://php.net/manual/en/memcache.flush.php.
Definition:
_memcache.tools.php:113
Generato Sab 25 Lug 2020 23:06:27 per GlisWeb framework da
1.8.13