Lines Matching refs:cache
13 private $cache;
29 'desc' => 'write new cache item',
49 $this->script_file = metaFN('quickstats:cache', '.ser');
50 $this->cache = unserialize(io_readFile($this->script_file,false));
51 if(!$this->cache) $this->cache = array();
66 // msg('<pre>' . print_r($this->cache,true) . '</pre>',2);
68 if(isset($this->cache[$md5])) return true;
80 unset($this->cache[$del]);
81 io_saveFile($this->script_file,serialize($this->cache));
83 return $this->cache;
89 $this->cache[md5($id)] = $id;
90 io_saveFile($this->script_file,serialize($this->cache));
124 return $this->cache;