Home
last modified time | relevance | path

Searched refs:cache (Results 51 – 75 of 671) sorted by relevance

12345678910>>...27

/plugin/filelisting/action/
H A Dcache.php43 /** @var CacheRenderer $cache */
44 $cache = $event->data;
46 if(!isset($cache->page)) return;
47 //purge only xhtml cache
48 if($cache->mode != 'xhtml') return;
50 $filelisting = p_get_metadata($cache->page, 'filelisting');
54 //and the cache invalidates every files change - just ignore it.
55 $cache->_nocache = true;
/plugin/authgooglesheets/vendor/google/apiclient/src/AccessToken/
H A DVerify.php56 private $cache; variable in Google\\AccessToken\\Verify
64 CacheItemPoolInterface $cache = null, argument
71 if (null === $cache) {
72 $cache = new MemoryCacheItemPool;
76 $this->cache = $cache;
143 return $this->cache;
187 if ($cache = $this->getCache()) {
188 $cacheItem = $cache->getItem('federated_signon_certs_v3');
198 if ($cache) {
201 $cache->save($cacheItem);
/plugin/authgooglesheets/vendor/google/auth/src/
H A DCacheTrait.php37 private $cache; variable
49 if (is_null($this->cache)) {
58 $cacheItem = $this->cache->getItem($key);
73 if (is_null($this->cache)) {
82 $cacheItem = $this->cache->getItem($key);
85 return $this->cache->save($cacheItem);
H A DGCECache.php46 * @param CacheItemPoolInterface $cache
50 CacheItemPoolInterface $cache = null argument
52 $this->cache = $cache;
68 if (is_null($this->cache)) {
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/
H A DGitProcessor.php31 private static $cache = null; variable in Monolog\\Processor\\GitProcessor
63 if (self::$cache) {
64 return self::$cache;
69 return self::$cache = [
75 return self::$cache = [];
H A DMercurialProcessor.php30 private static $cache = null; variable in Monolog\\Processor\\MercurialProcessor
62 if (self::$cache) {
63 return self::$cache;
69 return self::$cache = [
75 return self::$cache = [];
/plugin/refnotes/
H A Ddatabase.php114 $cache = new refnotes_reference_database_cache();
121 $this->page[$pageId] = new refnotes_reference_database_page($this, $cache, $pageId);
126 $cache->save();
194 public function __construct($database, $cache, $id) { argument
201 if ($cache->isCached($this->fileName)) {
202 $this->namespace = $cache->getNamespaces($this->fileName);
207 $cache->update($this->fileName, $this->namespace);
475 private $cache; variable in refnotes_reference_database_cache
494 $this->cache = array();
498 $this->cache
[all...]
/plugin/authgooglesheets/vendor/google/apiclient/src/AuthHandler/
H A DGuzzle5AuthHandler.php20 protected $cache; variable in Google\\AuthHandler\\Guzzle5AuthHandler
23 public function __construct(CacheItemPoolInterface $cache = null, array $cacheConfig = []) argument
25 $this->cache = $cache;
35 if ($this->cache) {
39 $this->cache
78 $this->cache
H A DGuzzle6AuthHandler.php20 protected $cache; variable in Google\\AuthHandler\\Guzzle6AuthHandler
23 public function __construct(CacheItemPoolInterface $cache = null, array $cacheConfig = []) argument
25 $this->cache = $cache;
35 if ($this->cache) {
39 $this->cache
81 $this->cache
H A DAuthHandlerFactory.php32 public static function build($cache = null, array $cacheConfig = []) argument
43 return new Guzzle5AuthHandler($cache, $cacheConfig);
45 return new Guzzle6AuthHandler($cache, $cacheConfig);
47 return new Guzzle7AuthHandler($cache, $cacheConfig);
/plugin/findologicxmlexport/vendor/jms/metadata/tests/
H A DMetadataFactoryTest.php125 $cache
131 $cache
136 $factory->setCache($cache);
218 $cache
226 $cache
235 $factory->setCache($cache);
242 $factory->setCache($cache);
259 $cache
265 $cache
271 $factory->setCache($cache);
[all …]
/plugin/pwaoffline/
H A Dsw.js38 caches.open(cacheName).then(function (cache) { argument
46 return cache.add(pageData.link)
95 return caches.open(cacheName).then(function (cache) { argument
96 cache.put(request, response.clone());
107 return caches.open(cacheName).then(function (cache) { argument
108 cache.put(request, response.clone());
134 return caches.open(cacheName).then(function (cache) { argument
135 return cache.match(request).then(function (matching) {
/plugin/log/
H A Daction.php27 $cache =& $event->data;
30 if (!isset($cache->page)) return;
33 if (!p_get_metadata($cache->page, 'relation logplugin')) {
38 $cache->depends['files'][] = wikiFN(log_get_log_page($this, $cache->page));
/plugin/graphviz/
H A Dsyntax.php122 $cache = $this->_cachename($data,'png');
125 if(!file_exists($cache)){
128 $ok = $this->_run($data,$in,$cache);
130 $ok = $this->_remote($data,$in,$cache);
138 $cache = media_resize_image($cache,'png',$data['width'],$data['height']);
142 if(!file_exists($cache)) return false;
144 return $cache;
/plugin/externalembed/helper/
H A DcacheInterface.php21 $cache = new cache_externalembed($cache_id);
22 return json_decode($cache->retrieveCache(), true);
30 $cache = new cache_externalembed($cache_id);
31 $cache->storeETag(md5(time()));
41 $cache = new cache_externalembed($cache_id);
43 if($cache->checkETag($time)) return true;
/plugin/blog/
H A Daction.php217 * Expire the renderer cache of archive pages whenever a page is updated or a comment or linkback is added
226 /** @var cache_parser $cache */
227 $cache = $event->data;
228 if (!in_array($cache->mode, array('xhtml', 'metadata'))) return;
229 $page = $cache->page;
233 if (strpos($cache->file, $conf['datadir']) === 0) {
234 $page = pathID(substr($cache->file, strlen($conf['datadir'])+1));
244 $cache->depends['files'][] = $conf['cachedir'].'/purgefile';
245 $cache->depends['files'][] = $conf['metadir'].'/_comments.changes';
246 $cache
[all...]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DEnvironmentTest.php228 $cache->expects($this->once())
231 $cache->expects($this->once())
236 $cache->expects($this->once())
238 $cache->expects($this->once())
257 $cache->expects($this->once())
260 $cache->expects($this->once())
266 $cache->expects($this->atLeastOnce())
283 $cache->expects($this->once())
286 $cache->expects($this->once())
292 $cache->expects($this->once())
[all …]
/plugin/findologicxmlexport/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/
H A DCachedReader.php41 private $cache; variable in Doctrine\\Common\\Annotations\\CachedReader
57 * @param Cache $cache
60 public function __construct(Reader $reader, Cache $cache, $debug = false) argument
63 $this->cache = $cache;
188 if (($data = $this->cache->fetch($cacheKey)) !== false) {
207 $this->cache->save($cacheKey, $value);
209 $this->cache->save('[C]'.$cacheKey, time());
227 return $this->cache->fetch('[C]'.$cacheKey) >= $lastModification;
/plugin/ireadit/action/
H A Dcache.php39 $cache = $event->data;
40 if ($cache->mode != 'xhtml') return true;
41 if (!$cache->page) return true; // not a page cache
44 if (p_get_metadata($cache->page, 'plugin_ireadit_list')) {
/plugin/seqdia/
H A Dsyntax.php123 $cache = $this->_cachename($data,'png');
126 if(!file_exists($cache)){
128 $ok = $this->_remote($data,$in,$cache);
135 $cache = media_resize_image($cache,'png',$data['width'],$data['height']);
139 if(!file_exists($cache)) return false;
141 return $cache;
/plugin/csv/syntax/
H A Dvalue.php62 $cache = md5(serialize($opt));
63 if (!isset($this->rowcache[$cache])) {
69 $this->rowcache[$cache] = helper_plugin_csv::prepareData($content, $opt);
72 if (isset($this->rowcache[$cache][$r][$c])) {
73 return $this->rowcache[$cache][$r][$c];
/plugin/filterrss/
H A Daction.php29 $cache = $event->data;
30 if ($cache->mode != 'xhtml') return;
31 if (!isset($cache->page)) return;
32 $meta = p_get_metadata($cache->page, 'plugin_filterrss');
/plugin/repo/
H A Dsyntax.php102 $cache = getCacheName($url.$path, '.repo');
103 $mtime = @filemtime($cache); // 0 if it doesn't exist
106 $idx = io_readFile($cache, false);
107 if ($conf['allowdebug']) $idx .= "\n<!-- cachefile $cache used -->\n";
112 io_saveFile($cache, $idx);
182 $cache = getCacheName($url, '.code');
183 $mtime = @filemtime($cache); // 0 if it doesn't exist
189 $hi_code = io_readFile($cache, false);
190 if ($conf['allowdebug']) $hi_code .= "\n<!-- cachefile $cache used -->\n";
214 io_saveFile($cache, $hi_code);
/plugin/stale/
H A DREADME.md8 …e only the modified date, not the content) in order to make the rendering cache stale (ie HTML,...)
19 … that the plugins that are using the cache system, must make the cache dependent of their info fil…
21 Why ? Because these files are cache dependencies and if touched will then prohibit the use of the c…
25 You can stale the cache:
34 …* As [per request 2](https://github.com/ComboStrap/stale/issues/2), Make the cache stale, reload t…
/plugin/redirect2/
H A Dhelper.php32 $cache = new cache('##redirect2##','.conf');
35 if ($cache->useCache($depends)) {
36 $this->pattern = unserialize($cache->retrieveCache(false));
41 $cache->storeCache(serialize($this->pattern));

12345678910>>...27