Lines Matching full:cache

6 use dokuwiki\Cache\CacheParser;
7 use dokuwiki\Cache\CacheRenderer;
14 * Manage the cache dependencies for a slot level (not instructions cache).
18 * Cache dependencies are used:
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 …in_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 th…
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
242 * Cache is now managed by dependencies function that creates a unique key
309 // dokuwiki cache key compatible
318 throw new ExceptionRuntimeInternal("No executing path to calculate the cache key");
324 * Snippet.json, Cache dependency are data dependent
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) argument
340 $cache->key = $this->getOrCalculateDependencyKey($cache->key);
341 $cache->cache = getCacheName($cache->key, '.' . $cache->mode);
344 … while trying to reroute the content cache destination for the fetcher ({$this->markupFetcher}). Y…
356 * Cache file
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 dependencie…