Lines Matching refs:cache
14 * Manage the cache dependencies for a slot level (not instructions cache).
19 * * to generate the cache key output
20 * * to add cache validity dependency such as requested page,
22 * For cache key generation, this is mostly used on
23 * * side slots to have several output of a list {@link \syntax_plugin_combo_pageexplorer navigation pane} for different namespace (ie there is one cache by namespace)
35 * The real scope value is then calculated before retrieving the cache
45 * output location of the cache
52 * of the cache
65 * the slot should be refreshed / cache should be deleted
77 * of a page changes, the cache should be invalidated
88 const CANONICAL = "cache:dependency";
98 * @var array list of dependencies to calculate the cache key
101 * that should go into the render cache key such as user logged in, requested page, namespace of the requested page, ...
103 * The cache dependencies data are saved alongside the page (same as snippets)
145 * Rerender for now only the secondary slot if it has cache dependency
180 $link = PluginUtility::getDocumentationHyperLink("cache:slot", "Slot Dependency", false);
200 * @return string - output the namespace used in the cache key
309 // dokuwiki cache key compatible
318 throw new ExceptionRuntimeInternal("No executing path to calculate the cache key");
329 * Therefore we reroute (recalculate the cache key to be the same than the html file)
331 * @param CacheParser $cache
335 function rerouteCacheDestination(CacheParser &$cache)
340 $cache->key = $this->getOrCalculateDependencyKey($cache->key);
341 $cache->cache = getCacheName($cache->key, '.' . $cache->mode);
344 LogUtility::msg("Error while trying to reroute the content cache destination for the fetcher ({$this->markupFetcher}). You may have cache problem. Error: {$e->getMessage()}");
357 * Using a cache parser, set the page id and will trigger
358 * the parser cache use event in order to log/report the cache usage
387 throw new ExceptionRuntimeInternal("There is no executing path, you can create a cache dependencies store", self::CANONICAL);