| /dokuwiki/_test/tests/inc/ |
| H A D | cache_use.test.php | 14 private $cache; variable in cache_use_test 26 $this->cache = new CacheRenderer($ID, $file, 'xhtml'); 27 $this->cache->storeCache('Test'); 32 touch($this->cache->cache, $time); 46 $this->assertFalse($this->cache->useCache()); 47 $this->assertNotEmpty($this->cache->depends['purge']); 55 touch($this->cache->file, filemtime($this->cache->cache)); 56 $this->assertFalse($this->cache->useCache()); 67 touch($this->cache->file, $time - 1); 68 touch($this->cache->cache, $time); [all …]
|
| H A D | cache_stalecheck.test.php | 16 $cache = new CacheRenderer($ID, $file, 'xhtml'); 17 $cache->storeCache('Stale'); 18 $stale = $cache->retrieveCache(); 22 touch($cache->cache, $time);
|
| /dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
| H A D | Redis.php | 32 protected $cache; variable in SimplePie\\Cache\\Redis 67 $this->cache = $redis; 82 * @param NativeRedis $cache 85 public function setRedisClient(NativeRedis $cache) argument 87 $this->cache = $cache; 101 $response = $this->cache->set($this->name, serialize($data)); 103 $this->cache->expire($this->name, $this->options['expire']); 116 $data = $this->cache->get($this->name); 131 $data = $this->cache->get($this->name); 147 $data = $this->cache->get($this->name); [all …]
|
| H A D | Psr16.php | 26 private $cache; variable in SimplePie\\Cache\\Psr16 31 * @param CacheInterface $cache 33 public function __construct(CacheInterface $cache) argument 35 $this->cache = $cache; 56 $data = $this->cache->get($key, $default); 86 return $this->cache->set($key, $value, $ttl); 106 return $this->cache->delete($key);
|
| H A D | BaseDataCache.php | 22 private $cache; variable in SimplePie\\Cache\\BaseDataCache 24 public function __construct(Base $cache) argument 26 $this->cache = $cache; 47 $data = $this->cache->load(); 97 return $this->cache->save($value); 117 return $this->cache->unlink();
|
| H A D | Memcache.php | 31 protected $cache; variable in SimplePie\\Cache\\Memcache 68 $this->cache = new NativeMemcache(); 69 $this->cache->addServer($this->options['host'], (int) $this->options['port']); 83 …return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options[… 93 $data = $this->cache->get($this->name); 108 $data = $this->cache->get($this->name); 125 $data = $this->cache->get($this->name); 128 …return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['… 141 return $this->cache->delete($this->name, 0);
|
| H A D | Memcached.php | 31 protected $cache; variable in SimplePie\\Cache\\Memcached 65 $this->cache = new NativeMemcached(); 66 $this->cache->addServer($this->options['host'], (int)$this->options['port']); 89 $data = $this->cache->get($this->name); 103 $data = $this->cache->get($this->name . '_mtime'); 113 $data = $this->cache->get($this->name); 123 return $this->cache->delete($this->name, 0); 134 … $this->cache->set($this->name . '_mtime', time(), (int)$this->options['extras']['timeout']); 135 return $this->cache->set($this->name, $data, (int)$this->options['extras']['timeout']);
|
| /dokuwiki/lib/exe/ |
| H A D | jquery.php | 25 $cache = new Cache('jquery', '.js'); 35 $cache_ok = $cache->useCache(['files' => $cache_files]); 36 http_cached($cache->cache, $cache_ok); 44 http_cached_finish($cache->cache, $js);
|
| H A D | js.php | 88 …$cache = new Cache('scripts' . $_SERVER['HTTP_HOST'] . $_SERVER['SERVER_PORT'] . md5(serialize($fi… 89 $cache->setEvent('JS_CACHE_USE'); 96 $cache_ok = $cache->useCache(['files' => $cache_files]); 97 http_cached($cache->cache, $cache_ok); 168 http_cached_finish($cache->cache, $js);
|
| /dokuwiki/ |
| H A D | feed.php | 44 $cache = new Cache($key, '.feed'); variable 57 if ($cache->useCache($depends)) { 58 http_conditionalRequest($cache->getTime()); 59 if ($conf['allowdebug']) header("X-CacheUsed: $cache->cache"); 60 echo $cache->retrieveCache(); 69 $cache->storeCache($feed);
|
| /dokuwiki/vendor/php81_bc/strftime/ |
| H A D | .gitignore | 26 .phpunit.result.cache 33 *.stTheme.cache 34 *.tmlanguage.cache 35 *.tmPreferences.cache 45 .sass-cache/
|
| /dokuwiki/inc/ |
| H A D | fetch.functions.php | 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 = []) argument 42 if ($cache == -1) { 45 } elseif ($cache > 0) { 46 $maxage = $cache; // given time 198 * @param string $cache 201 function calc_cache($cache) argument 205 if (strtolower($cache) == 'nocache') return 0; //never cache 206 if (strtolower($cache) == 'recache') return $conf['cachetime']; //use standard cache
|
| H A D | parserutils.php | 151 $cache = new CacheRenderer($id, $file, $format); 152 if ($cache->useCache()) { 153 $parsed = $cache->retrieveCache(false); 155 $parsed .= "\n<!-- cachefile {$cache->cache} used -->\n"; 160 …if (!empty($info['cache']) && $cache->storeCache($parsed)) { // storeCache() attempts to save cach… 162 $parsed .= "\n<!-- no cachefile used, but created {$cache->cache} -->\n"; 165 $cache->removeCache(); //try to delete cachefile 192 $cache = new CacheInstructions($id, $file); 194 if ($cacheonly || $cache->useCache() || (isset($run[$file]) && !defined('DOKU_UNITTEST'))) { 195 return $cache->retrieveCache(); [all …]
|
| H A D | httputils.php | 217 * @param string $cache cache file name 220 function http_cached($cache, $cache_ok) argument 229 http_conditionalRequest(filemtime($cache)); 230 if ($conf['allowdebug']) header("X-CacheUsed: $cache"); 233 if ($conf['gzip_output'] && http_gzip_valid($cache)) { 236 readfile($cache . ".gz"); 238 http_sendfile($cache); 239 readfile($cache);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/ |
| H A D | Barrett.php | 62 static $cache = [ 86 if (($key = array_search($m, $cache[self::VARIABLE])) === false) { 87 $key = count($cache[self::VARIABLE]); 88 $cache[self::VARIABLE][] = $m; 94 $cache[self::DATA][] = [ 99 $cacheValues = $cache[self::DATA][$key]; 158 static $cache = [ 169 if (($key = array_search($n, $cache[self::VARIABLE])) === false) { 170 $key = count($cache[self::VARIABLE]); 171 $cache[self::VARIABLE][] = $n; [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/ |
| H A D | MontgomeryMult.php | 46 static $cache = [ 51 if (($key = array_search($m, $cache[self::VARIABLE])) === false) { 52 $key = count($cache[self::VARIABLE]); 53 $cache[self::VARIABLE][] = $m; 54 $cache[self::DATA][] = self::modInverse67108864($m, $class); 65 $temp = $temp * $cache[self::DATA][$key];
|
| H A D | Montgomery.php | 57 static $cache = [ 62 if (($key = array_search($n, $cache[self::VARIABLE])) === false) { 63 $key = count($cache[self::VARIABLE]); 64 $cache[self::VARIABLE][] = $x; 65 $cache[self::DATA][] = self::modInverse67108864($n, $class); 73 $temp = $result[self::VALUE][$i] * $cache[self::DATA][$key];
|
| H A D | Barrett.php | 51 static $cache = [ 81 if (($key = array_search($m, $cache[self::VARIABLE])) === false) { 82 $key = count($cache[self::VARIABLE]); 83 $cache[self::VARIABLE][] = $m; 96 $cache[self::DATA][] = [ 101 $cacheValues = $cache[self::DATA][$key]; 161 static $cache = [ 177 if (($key = array_search($n, $cache[self::VARIABLE])) === false) { 178 $key = count($cache[self::VARIABLE]); 179 $cache[self::VARIABLE][] = $n; [all …]
|
| /dokuwiki/inc/Cache/ |
| H A D | CacheInstructions.php | 27 $contents = io_readFile($this->cache, false); 43 return io_saveFile($this->cache, serialize($instructions));
|
| H A D | Cache.php | 17 public $cache = ''; // cache file name variable in dokuwiki\\Cache\\Cache 38 $this->cache = getCacheName($key, $ext); 118 if (!($this->_time = @filemtime($this->cache))) { 161 return io_readFile($this->cache, $clean); 176 return io_saveFile($this->cache, $data); 184 @unlink($this->cache);
|
| /dokuwiki/inc/ChangeLog/ |
| H A D | PageChangeLog.php | 55 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]); 65 $this->cache[$this->id][$this->currentRevision] = $info;
|
| H A D | MediaChangeLog.php | 55 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]); 65 $this->cache[$this->id][$this->currentRevision] = $info;
|
| /dokuwiki/vendor/splitbrain/php-cli/ |
| H A D | .gitignore | 8 .phpunit.result.cache
|
| /dokuwiki/vendor/splitbrain/php-archive/ |
| H A D | .gitignore | 9 .phpunit.result.cache
|
| /dokuwiki/vendor/splitbrain/lesserphp/ |
| H A D | .gitignore | 11 .phpunit.result.cache
|