Lines Matching full:cache

15  * Base class for all cache implementations within the RRDGraph plugin.
16 * This class is derived from the DokuWiki cache class.
20 abstract class cache_rrdgraphbase extends cache {
21 /** @var String Page-Number of the page that is managed by this cache instance. */
24 …/** @var String Name of the plugin using this cache. This value is used to get the dependencies me…
32 * @param String $ext The extension of the cache file.
53 // they are regenerated every time after a cache timeout.
72 * This cache class manages the rrd recipe cache.
73 * This cache only times out if the recipe changes.
81 …* @param String $recipeName An identifier used to identify the cache recipe on the page provied by…
91 * This cache class manages the images generated by the plugin.
104 …* @param String $recipeName An identifier used to identify the cache recipe on the page provied by…
117 …or caching. This name can be used to pass it to other functions to update the content of the cache.
118 * @returns Returns the name and path of the cache file.
121 return $this->cache;
137 * If the cache file does not exist (the data was never cached) 0 is returned.
149 * Determins the last modification time of the cache data.
150 * If the cache file does not exist (the data was never cached) the current time is returned.
163 * cache image file. To load the image file and to construct HTTP headers for tramsmission.
167 /** @var String Name of the rrd image file within the cache. */
248 …/** @var Array Cache for already loaded and inflated recipes. This speeds up loading the same reci…
268 //-- Put the file into the cache.
269 $cache = new cache_rrdgraph($this->getPluginName(), $pageId, $recipeName);
270 $cache->storeCache(serialize($recipeData));
276 …* Load a gieven rrd recipe. If the recipe is not available within the cache or needs to be updated…
277 * to give the syntax plugin a chance to create and cache the rrd data.
284 $cache = new cache_rrdgraph($this->getPluginName(), $pageId, $recipeName);
285 if ($cache->useCache()) {
286 … $this->localRecipeCache[$pageId . "/" . $recipeName] = unserialize($cache->retrieveCache());
293 … $this->localRecipeCache[$pageId . "/" . $recipeName] = unserialize($cache->retrieveCache());
312 //-- Cache the setting if ACLs should be checked for includes.
368 …* @param String $recipeName An identifier used to identify the cache recipe on the page provied by…
374 …$cache = new cache_rrdgraphimage($this->getPluginName(), $pageId, $extension, $recipeName, $rangeN…
376 …return new rrdgraph_image_info($cache->getCacheFileName(), $cache->getValidUntil(), $cache->getLas…
382 * This function does cache management and all other stuff, too.
393 //-- User abort must be ignored because we're building new images for the cache. If the
394 // user aborts this process, the cache may be corrupted.
586 //-- Get the new cache info of the image to send the correct headers.
593 … // on newly generated images (and with the cache on some non standard filesystem) the