Lines Matching full:cache
28 * to the cache dependencies
39 /** @var \cache_parser $cache */
40 $cache = $event->data;
41 if ($cache->mode != 'xhtml') return true;
42 if (!$cache->page) return true; // not a page cache
44 $meta = p_get_metadata($cache->page, 'plugin struct');
46 // dynamic renders should never overwrite the default page cache
48 // influence if a cache is used, not that it will be written
57 $cache->key = substr($cache->key, 0, -strlen($user_key));
60 if (substr($cache->key, -strlen('dynamic')) != 'dynamic') {
61 $cache->key .= 'dynamic';
63 $cache->key .= $user_key;
67 $cache->cache = getCacheName($cache->key, $cache->ext);
74 * Disable cache when dymanic parameters are present
83 /** @var \cache_parser $cache */
84 $cache = $event->data;
85 if ($cache->mode != 'xhtml') return true;
86 if (!$cache->page) return true; // not a page cache
89 // disable cache use when one of these parameters is present