Closed
Description
Hi,
Having a problem with the clearing the cache and reading cache stats.
Code looks like this:
require_once("/phpfastcache/phpfastcache.php");
$cache = phpFastCache();
$cache->clean();
I can remove an individual cache object just fine with $cache->delete(); but clean();
is failing for some reason. Caching does seem to work though, just can't seem to clean() anymore - despite it working previously.
$array = $cache->stats();
print_r($array);
This outputs:
Array ( [info] => Array ( [Total [bytes]] => 0 [Expired and removed [bytes]] => 0 [Current [bytes]] => 0 ) [size] => 0 [data] => Array ( ) )
Any ideas on how to resolve? Am really stuck on this one!
Metadata
Metadata
Assignees
Labels
No labels