Lines Matching full:cache
14 * This is why there is a cache attribute - this is the cache of the generated file
26 * Cache
28 * * cache
32 public const CACHE_KEY = 'cache';
33 public const CACHE_DEFAULT_VALUE = "cache";
57 * The cache
113 $cache = $tagAttributes->getValueAndRemove(self::CACHE_KEY);
114 if ($cache !== null) {
115 $this->setRequestedCache($cache);
123 * @return string $cache - one of {@link FetcherCache::CACHE_KEY}
129 throw new ExceptionNotFound("No cache was requested");
141 * Cache transformation
142 * From Image cache value (https://www.dokuwiki.org/images#caching)
148 case "cache":
152 throw new ExceptionBadArgument("The cache value ($requestedCache) is unknown");
157 * Get cache age from cache property
165 * From Image cache value (https://www.dokuwiki.org/images#caching)
169 * $maxAge < 0 // cache forever
170 * $maxAge === 0 // never cache
171 * $maxAge > 0 // cache for a number of seconds
176 // never cache
181 case "cache":
183 // cache forever
218 throw new ExceptionNotSupported("No cache support by default, overwrite this function to give access to your cache path");
223 throw new ExceptionNotSupported("The fetcher ($this) does not support to feed the cache, overwrite this function to give access to this functionality");