Lines Matching full:cache
6 * Action plugin component, for cache validity determination
34 * prepare the cache object for default _useCache action
37 $cache =& $event->data;
40 if (!isset($cache->page)) return;
41 if (!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return;
45 $expire = $this->_inclusion_check($cache->page, $key, $depends);
48 //$debug[] = compact('key','expire','depends','cache');
53 // mark the cache as being modified by the include plugin
54 $cache->include = true;
56 …// set new cache key & cache name - now also dependent on included page ids and their ACL_READ sta…
57 $cache->key .= $key;
58 $cache->cache = getCacheName($cache->key, $cache->ext);
60 // inclusion check was able to determine the cache must be invalid
69 …$cache->depends['files'] = !empty($cache->depends['files']) ? array_merge($cache->depends['files']…
74 * - to establish proper cache name, its dependent on the read status of included pages
78 * @param string $key (reference) cache key
81 * @return bool expire the cache
117 $cache =& $event->data;
118 if (empty($cache->include)) return;