Lines Matching full:cache
110 * prepare the cache object for default _useCache action
118 $cache =& $event->data;
121 // without the ID check we'd get the cache objects for included pages as well
122 if(!isset($cache->page) || ($cache->page != $ID)) return;
123 if(!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return;
141 dbglog('---- PLUGIN INCLUDE CACHE DEPENDS START ----');
143 dbglog('---- PLUGIN INCLUDE CACHE DEPENDS END ----');
146 $cache->depends['purge'] = true; // kill some performance
152 $cache->depends['purge'] = true; // include key not set - request purge
166 $cache->depends['files'][] = dirname(__FILE__) . '/plugin.info.txt';
174 if(!in_array($cache->depends['files'], array($file)) && @file_exists($file))
176 $cache->depends['files'][] = $file;
184 // mark the cache as being modified by the include plugin
185 $cache->include = true;
187 // set new cache key & cache name
189 $cache->key .= $key;
190 $cache->cache = getCacheName($cache->key, $cache->ext);