Home
last modified time | relevance | path

Searched full:cache (Results 1 – 25 of 2069) sorted by path

12345678910>>...83

/dokuwiki/conf/
H A Ddokuwiki.php161 $conf['readdircache'] = 0; //time cache in second for the readdir operation, 0 to deactivate.
/dokuwiki/
H A Dfeed.php15 use dokuwiki\Cache\Cache;
36 // the feed is dynamic - we need a cache for each combo
44 $cache = new Cache($key, '.feed');
46 // prepare cache depends
53 header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
57 if ($cache->useCache($depends)) {
58 http_conditionalRequest($cache->getTime());
59 if ($conf['allowdebug']) header("X-CacheUsed: $cache
13 use dokuwiki\Cache\Cache; global() alias
39 $cache = new Cache($key, '.feed'); global() variable
[all...]
/dokuwiki/inc/Action/
H A DExport.php49 // search engines: never cache exported docs! (Google only currently)
/dokuwiki/inc/Cache/
H A DCache.php3 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 DCacheImageMod.php3 namespace dokuwiki\Cache;
8 class CacheImageMod extends Cache
H A DCacheInstructions.php3 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 DCacheParser.php3 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 ...
H A DCacheRenderer.php3 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 ...
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php19 protected $cache = []; variable in dokuwiki\\ChangeLog\\ChangeLog
31 $this->cache =& $cache_revinfo;
32 if (!isset($this->cache[$id])) {
33 $this->cache[$id] = [];
109 * Parses a changelog line into its components and save revision info to the cache pool
119 $this->cache[$this->id][$info['date']] ??= $info;
160 // check if it's already in the memory cache
161 if (isset($this->cache[$this->id][$rev])) {
162 return $this->cache[$this->id][$rev];
172 // parse and cache changelo
[all...]
H A DMediaChangeLog.php55 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;
H A DPageChangeLog.php55 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;
/dokuwiki/inc/Debug/
H A DPropertyDeprecationHelper.php39 * E.g. [ '_event' => '\dokuwiki\Cache\Cache' ]
/dokuwiki/inc/Extension/
H A DAuthPlugin.php430 * Check Session Cache validity [implement only where required/possible]
/dokuwiki/inc/File/
H A DMediaFile.php160 * @todo doing this for each file within a namespace is a waste, we need to cache this somehow
H A DPageFile.php5 use dokuwiki\Cache\CacheInstructions;
259 $cache = new CacheInstructions($this->id, $this->getPath());
260 $cache->removeCache();
/dokuwiki/inc/Search/
H A DIndexer.php18 * @var array $pidCache Cache for getPID()
304 // reset the pid cache
482 // clear the pid cache
551 // return PID without locking when it is in the cache
577 // avoid expensive addIndexKey operation for the most recently requested pages by using a cache
580 // limit cache to 10 entries by discarding the oldest element as in DokuWiki usually only the most recently
1129 * Read the index directory or a cache file and returns
/dokuwiki/inc/Sitemap/
H A DMapper.php26 * The map is placed in the cache directory named sitemap.xml.gz - This
/dokuwiki/inc/
H A DTaskRunner.php89 * Trims the recent changes cache (or imports the old changelog) as needed.
107 // Trims the recent changes cache to the last $conf['changes_days'] recent
154 // however the extra robustness in making the changelog cache self-correcting is worth it
H A Dauth.php535 * @param bool $recache set to true to refresh the cache
570 static $cache = [];
572 if (!isset($cache[$cachekey]) || $recache) {
581 $cache[$cachekey] = $ok;
584 return $cache[$cachekey];
596 * @param bool $recache set to true to refresh the cache
842 $cache =& $cache_authname;
849 if (!isset($cache[$name][$skip_group])) {
851 $cache[$name][$skip_group] = '@' . preg_replace_callback(
857 $cache[
[all...]
H A Dcache.php3 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 Dcommon.php15 use dokuwiki\Cache\CacheRenderer;
272 // cache most recent changelog line in metadata if missing and still valid
620 if (isset($more['cache']) && $more['cache'] == 'cache') unset($more['cache']);
636 $more = str_replace('cache=cache', '', $more); //skip default
1308 // if useheading is enabled, purge the cache of all linking pages
1312 $cache
[all...]
H A Dconfutils.php416 if (defined('DOKU_UNITTEST')) $useHeading = null; // don't cache during unit tests
H A Dfetch.functions.php14 * 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...]
/dokuwiki/inc/Utf8/
H A DTable.php87 // FIXME should we cache this to file system?
H A DUnicode.php147 //initialize UTF8 cache

12345678910>>...83