/dokuwiki/inc/ |
H A D | cache.php | 3 use dokuwiki\Cache\Cache as NewCache; 4 use dokuwiki\Cache\CacheParser; 5 use dokuwiki\Cache\CacheInstructions; 6 use dokuwiki\Cache\CacheRenderer; 10 * @deprecated since 2019-02-02 use \dokuwiki\Cache\Cache instead! 12 class cache extends NewCache 22 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheParser instead! 36 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheRendere 11 class cache extends \dokuwiki\Cache\Cache global() class [all...] |
H A D | fetch.functions.php | 14 * The $cache parameter influences how long files may be kept in caches, the $public parameter 15 * influences if this caching may happen in public proxis or in the browser cache only FS#2734 23 * @param int $cache remaining cache time in seconds (-1 for $conf['cache'], 0 for no-cache) 32 function sendFile($file, $mime, $dl, $cache, $public = false, $orig = null, $csp = []) 41 // calculate cache times 42 if ($cache == -1) { 45 } elseif ($cache > 28 sendFile($file, $mime, $dl, $cache, $public = false, $orig = null, $csp = []) global() argument 194 calc_cache($cache) global() argument [all...] |
H A D | parserutils.php | 12 use dokuwiki\Cache\CacheInstructions; 13 use dokuwiki\Cache\CacheRenderer; 46 * Render metadata using the metadata cache logic. The P_GET_METADATA_RENDER_LIMIT 50 * the simple cache mode that metadata needs to be rendered for all pages at once 59 * limited. This can be combined with the simple cache using 151 $cache = new CacheRenderer($id, $file, $format); 152 if ($cache->useCache()) { 153 $parsed = $cache->retrieveCache(false); 155 $parsed .= "\n<!-- cachefile {$cache->cache} use 455 p_read_metadata($id, $cache = false) global() argument [all...] |
H A D | httputils.php | 17 * @param int $timestamp lastmodified time of the cache file 214 * HTTP headers. If a useable cache is present, it is passed to the web server 217 * @param string $cache cache file name 218 * @param bool $cache_ok if cache can be used 220 function http_cached($cache, $cache_ok) 224 // check cache age & handle conditional request 226 header('Cache-Control: public, max-age=31536000'); 229 http_conditionalRequest(filemtime($cache)); 230 if ($conf['allowdebug']) header("X-CacheUsed: $cache"); 215 http_cached($cache, $cache_ok) global() argument [all...] |
/dokuwiki/lib/exe/ |
H A D | jquery.php | 3 use dokuwiki\Cache\Cache; alias 21 * uses cache or fills it 25 $cache = new Cache('jquery', '.js'); 33 // check cache age & handle conditional request 34 // This may exit if a cache can be used 35 $cache_ok = $cache->useCache(['files' => $cache_files]); 36 http_cached($cache->cache, [all...] |
/dokuwiki/inc/Cache/ |
H A D | Cache.php | 3 namespace dokuwiki\Cache; 11 class Cache class 16 public $ext = ''; // file ext for cache data, secondary identifier for this item 17 public $cache = ''; // cache file name variable in dokuwiki\\Cache\\Cache 18 public $depends = []; // array containing cache dependency information, 19 // used by makeDefaultCacheDecision to determine cache validity 27 protected $_nocache = false; // if set to true, cache will not be used or stored 38 $this->cache = getCacheName($key, $ext); 64 * public method to determine whether the cache ca [all...] |
H A D | CacheInstructions.php | 3 namespace dokuwiki\Cache; 12 * @param string $file source file for cache 23 * @return array cache contents 27 $contents = io_readFile($this->cache, false); 32 * cache $instructions 43 return io_saveFile($this->cache, serialize($instructions));
|
H A D | CacheRenderer.php | 3 namespace dokuwiki\Cache; 11 * method contains cache use decision logic 27 // meta cache older than file it depends on? 32 // check current link existence is consistent with cache version 34 // - if the cache is more recent than the purgefile we know no links can have been updated 62 // default renderer cache file 'age' is dependent on 'cachetime' setting, two special values: 63 // -1 : do not cache (should not be overridden) 64 // 0 : cache never expires (can be overridden) - no need to set depends['age'] 73 // renderer cache file dependencies ...
|
H A D | CacheParser.php | 3 namespace dokuwiki\Cache; 8 class CacheParser extends Cache 10 public $file = ''; // source file for cache 17 * @param string $file source file for cache 35 * method contains cache use decision logic 50 // parser cache file dependencies ...
|
/dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
H A D | Redis.php | 45 namespace SimplePie\Cache; 70 protected $cache; 80 * Cache name 87 * Create a new cache object 90 * @param string $name Unique ID for the cache 95 //$this->cache = \flow\simple\cache\Redis::getRedisClientInstance(); 96 $parsed = \SimplePie\Cache::parse_URL($location); 105 $this->cache = $redis; 120 * @param NativeRedis $cache 71 protected $cache; global() variable in SimplePie\\Cache\\Redis 123 setRedisClient(NativeRedis $cache) global() argument [all...] |
H A D | BaseDataCache.php | 45 namespace SimplePie\Cache; 50 * Adapter for deprecated \SimplePie\Cache\Base implementations 61 private $cache; 63 public function __construct(Base $cache) 65 $this->cache = $cache; 69 * Fetches a value from the cache. 76 * @param string $key The unique key of this item in the cache. 79 * @return array|mixed The value of the item from the cache, or $default in case of cache mis 62 private $cache; global() variable in SimplePie\\Cache\\BaseDataCache 64 __construct(Base $cache) global() argument [all...] |
H A D | Memcache.php | 45 namespace SimplePie\Cache; 70 protected $cache; 80 * Cache name 87 * Create a new cache object 90 * @param string $name Unique ID for the cache 103 $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); 107 $this->cache = new NativeMemcache(); 108 $this->cache->addServer($this->options['host'], (int) $this->options['port']); 112 * Save data to the cache 114 * @param array|\SimplePie\SimplePie $data Data to store in the cache 71 protected $cache; global() variable in SimplePie\\Cache\\Memcache [all...] |
H A D | Memcached.php | 45 namespace SimplePie\Cache; 70 protected $cache; 79 * Cache name 85 * Create a new cache object 87 * @param string $name Unique ID for the cache 100 $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); 104 $this->cache = new NativeMemcached(); 105 $this->cache->addServer($this->options['host'], (int)$this->options['port']); 109 * Save data to the cache 110 * @param array|\SimplePie\SimplePie $data Data to store in the cache 71 protected $cache; global() variable in SimplePie\\Cache\\Memcached [all...] |
H A D | Psr16.php | 45 namespace SimplePie\Cache; 51 * Caches data into a PSR-16 cache implementation 60 * PSR-16 cache implementation 64 private $cache; 67 * PSR-16 cache implementation 69 * @param CacheInterface $cache 71 public function __construct(CacheInterface $cache) 73 $this->cache = $cache; 77 * Fetches a value from the cache 65 private $cache; global() variable in SimplePie\\Cache\\Psr16 72 __construct(CacheInterface $cache) global() argument [all...] |
H A D | Base.php | 45 namespace SimplePie\Cache; 48 * Base for cache objects 50 * Classes to be used with {@see \SimplePie\Cache::register()} are expected 60 * Feed cache type 67 * Image cache type 74 * Create a new cache object 77 * @param string $name Unique ID for the cache 83 * Save data to the cache 85 * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache th [all...] |
H A D | File.php | 45 namespace SimplePie\Cache; 86 * Create a new cache object 89 * @param string $name Unique ID for the cache 101 * Save data to the cache 103 * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property 120 * Retrieve the data saved to the cache 133 * Retrieve the last modified time for the cache 153 * Remove the cache 166 class_alias('SimplePie\Cache\Fil [all...] |
H A D | DataCache.php | 45 namespace SimplePie\Cache; 50 * Subset of PSR-16 Cache client for caching data arrays 65 * Fetches a value from the cache. 72 * @param string $key The unique key of this item in the cache. 75 * @return array|mixed The value of the item from the cache, or $default in case of cache miss. 83 * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. 104 * Delete an item from the cache by its unique key. 111 * @param string $key The unique cache key of the item to delete.
|
H A D | NameFilter.php | 44 namespace SimplePie\Cache; 47 * Interface for creating a cache filename 55 * Method to create cache filename with. 71 * @param string $name The name for the cache will be most likly an url with query string 73 * @return string the new cache name
|
/dokuwiki/lib/plugins/extension/helper/ |
H A D | repository.php |
|
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/ |
H A D | Redis.php | 4 * SimplePie Redis Cache Extension 13 use SimplePie\Cache\Redis; 15 class_exists('SimplePie\Cache\Redis'); 17 // @trigger_error(sprintf('Using the "SimplePie_Cache_Redis" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Redis" instead.'), \E_USER_DEPRECATED); 20 /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Redis" instead */
|
H A D | Base.php | 45 use SimplePie\Cache\Base; 47 interface_exists('SimplePie\Cache\Base'); 49 // @trigger_error(sprintf('Using the "SimplePie_Cache_Base" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Base" instead.'), \E_USER_DEPRECATED); 52 /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Base" instead */
|
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | Cache.php | 47 use SimplePie\Cache\Base; 50 * Used to create cache objects 60 class Cache 63 * Cache handler classes 70 'mysql' => 'SimplePie\Cache\MySQL', 71 'memcache' => 'SimplePie\Cache\Memcache', 72 'memcached' => 'SimplePie\Cache\Memcached', 73 'redis' => 'SimplePie\Cache\Redis' 84 * Create a new SimplePie\Cache object 87 * @param string $filename Unique identifier for cache objec 61 class Cache global() class [all...] |
/dokuwiki/inc/ChangeLog/ |
H A D | PageChangeLog.php | 55 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]); 60 io_saveFile($conf['changelog'], $logline, true); //global changelog cache 62 // update cache 65 $this->cache[$this->id][$this->currentRevision] = $info;
|
H A D | MediaChangeLog.php | 55 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]); 60 io_saveFile($conf['media_changelog'], $logline, $append = true); //global changelog cache 62 // update cache 65 $this->cache[$this->id][$this->currentRevision] = $info;
|
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/ |
H A D | Cache.php | 45 use SimplePie\Cache; 47 class_exists('SimplePie\Cache'); 49 // @trigger_error(sprintf('Using the "SimplePie_Cache" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache" instead.'), \E_USER_DEPRECATED); 52 /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache" instead */ 53 class SimplePie_Cache extends Cache 46 use SimplePie\Cache; global() alias
|