Home
last modified time | relevance | path

Searched full:cache (Results 76 – 100 of 2069) sorted by relevance

12345678910>>...83

/plugin/davcard/action/
H A Dcache.php4 * DokuWiki DAVCal PlugIn - Cache component
23 $cache = &$event->data;
24 if(!isset($cache->page)) return;
25 //purge only xhtml cache
26 if($cache->mode != "xhtml") return;
28 $meta = p_get_metadata($cache->page, 'plugin_davcard');
39 $cache->depends['files'][] = $wdc->getLastSyncChangeFileForConnection($connectionId);
43 if(isset($meta['addressbooks']) && in_array($cache->page, $meta['addressbooks']['id']))
/plugin/datatemplate/
H A Daction.php5 * Action plugin component, for cache validity determination
43 * prepare the cache object for default _useCache action
46 $cache =& $event->data;
49 if (!isset($cache->page)) return;
50 if (!isset($cache->mode) || $cache->mode != 'metadata') return;
52 $files = $this->_get_dependencies($cache->page);
53 $cache->depends['files'] = array_merge($cache->depends['files'], $files);
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/
H A DEngine.php40 // Template cache
45 private $cache; variable in Mustache_Engine
73 * // A Mustache cache instance or a cache directory string for compiled templates.
75 * 'cache' => dirname(__FILE__).'/tmp/cache/mustache',
153 $cache = $options['cache'];
155 if (is_string($cache)) {
157 $cache = new Mustache_Cache_FilesystemCache($cache, $mode);
565 $this->cache = $cache;
581 return $this->cache;
732 if ($cache === null) {
[all …]
/plugin/quickstats/
H A Dhelper.php13 private $cache; variable in helper_plugin_quickstats
29 'desc' => 'write new cache item',
49 $this->script_file = metaFN('quickstats:cache', '.ser');
51 if(!$this->cache) $this->cache = array();
68 if(isset($this->cache[$md5])) return true;
80 unset($this->cache[$del]);
81 io_saveFile($this->script_file,serialize($this->cache));
83 return $this->cache;
89 $this->cache[md5($id)] = $id;
90 io_saveFile($this->script_file,serialize($this->cache));
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DCache.php48 use SimplePie\Cache\Base;
51 * Used to create cache objects
61 class Cache class
64 * Cache handler classes
71 'mysql' => 'SimplePie\Cache\MySQL',
72 'memcache' => 'SimplePie\Cache\Memcache',
73 'memcached' => 'SimplePie\Cache\Memcached',
74 'redis' => 'SimplePie\Cache\Redis'
85 * Create a new SimplePie\Cache object
88 * @param string $filename Unique identifier for cache objec
[all...]
/plugin/cacherevisionseraser/lang/fr/
H A Dlang.php14 $lang['menu'] = 'Purger cache/révisions';
15 $lang['title'] = 'Purge du cache et des révisions';
16 $lang['desc'] = 'Purge le cache du wiki et/ou les révisions';
25 $lang['erasecachebtn'] = 'Purger tout le cache';
27 $lang['askcache'] = 'Voulez-vous supprimer la totalité du cache ?';
29 $lang['cachedesc'] = 'Cliquez sur le bouton pour purger le cache...';
37 $lang['extdesc_js'] = 'Fichiers .js (Cache Javascript)';
38 $lang['extdesc_css'] = 'Fichiers .css (Cache feuilles CSS)';
39 $lang['extdesc_mediaP'] = 'Fichiers .media.* (Cache media)';
63 $lang['cache_word'] = 'cache';
[all …]
/plugin/swiftmail/Swift/
H A DCache.php14 * The interface for any cache mechanisms to follow
21 * Append bytes to the cache buffer identified by $key
22 * @param string The Cache key
28 * @param string The cache key
32 * Check if there is something in the cache for $key
33 * @param string The cache key
45 * A factory method to return an output stream object for the relevant location in the cache
46 * @param string The cache key to fetch the stream for
/plugin/navi/
H A Daction.php17 * prepare the cache object for default _useCache action
21 $cache =& $event->data;
24 if (!isset($cache->page)) return;
25 if ($cache->mode != 'i') return;
28 $depends = p_get_metadata($cache->page, 'relation naviplugin');
30 …$cache->depends['files'] = !empty($cache->depends['files']) ? array_merge($cache->depends['files'],
/plugin/poldek/
H A Daction.php30 $controller->register_hook('PARSER_CACHE_USE','BEFORE', $this, 'cache');
48 * Update page cache dependencies
50 function cache(&$event, $param) { function in action_plugin_poldek
53 $cache =& $event->data;
56 if (!isset($cache->page)) return;
57 if (!isset($cache->mode) || $cache->mode != 'xhtml') return;
65 $cache->depends['files'][] = $helper->getCache();
/plugin/redirect2/
H A Dhelper.php32 $cache = new cache('##redirect2##','.conf');
35 if ($cache->useCache($depends)) {
36 $this->pattern = unserialize($cache->retrieveCache(false));
37 //error_log('Redirect2 : loaded from cache '.$cache->cache);
39 // cache has expired
41 $cache->storeCache(serialize($this->pattern));
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Cache/
H A DArrayCache.php12 namespace Assetic\Cache;
15 * A simple array cache
21 private $cache = array(); variable in Assetic\\Cache\\ArrayCache
28 return isset($this->cache[$key]);
40 return $this->cache[$key];
48 $this->cache[$key] = $value;
56 unset($this->cache[$key]);
/plugin/eventum/
H A Dsyntax.php77 function cache($id, $data = null) { function in syntax_plugin_eventum
86 // read cache
87 $cache = array();
95 foreach ($cache as $i => $ent) {
97 unset($cache[$i]);
103 return isset($cache[$id]) ? $cache[$id] : null;
107 $cache[$id] = $data;
139 $cache = $this->cache($id);
140 if ($cache !== null) {
141 return $cache;
[all …]
/template/navigation/
H A Dsidebar.php32 $cache = getCacheName($localFile.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'],'.xhtml');
34 // check if cache can be used
35 $cachetime = @filemtime($cache); // 0 if not exists
38 && $cachetime > @filemtime($masterFile) // cache is fresh
48 //well then use the cache
49 $parsed = io_readfile($cache);
50 $parsed .= "\n<!-- cachefile $cache used -->\n";
54 if($info['cache']){
55 io_saveFile($cache,$parsed); //save cachefile
58 @unlink($cache); //try to delete cachefile
/plugin/swiftmail/Swift/Cache/
H A DMemory.php4 * Swift Mailer Native memory runtime cache
22 * The storage container for this cache
33 * Write data to the cache
34 * @param string The cache key
44 * @param string The cache key
53 * @param string The cache key
61 * Read data from the cache for $key
63 * @param string The cache key
/template/sxs/
H A Dsidebar.php38 $cache = getCacheName($localFile.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'],'.xhtml');
40 // check if cache can be used
41 $cachetime = @filemtime($cache); // 0 if not exists
44 && $cachetime > @filemtime($masterFile) // cache is fresh
54 //well then use the cache
55 $parsed = io_readfile($cache);
56 $parsed .= "\n<!-- cachefile $cache used -->\n";
60 if($info['cache']){
61 io_saveFile($cache,$parsed); //save cachefile
64 @unlink($cache); //try to delete cachefile
/plugin/findologicxmlexport/vendor/twig/twig/src/Cache/
H A DFilesystemCache.php12 namespace Twig\Cache;
15 * Implements a cache on the filesystem.
27 * @param string $directory The root cache directory
57 … throw new \RuntimeException(sprintf('Unable to create the cache directory (%s).', $dir));
61 … throw new \RuntimeException(sprintf('Unable to write in the cache directory (%s).', $dir));
69 // Compile cached file into bytecode cache
80 throw new \RuntimeException(sprintf('Failed to write cache file "%s".', $key));
93 class_alias('Twig\Cache\FilesystemCache', 'Twig_Cache_Filesystem');
/plugin/findologicxmlexport/vendor/jms/metadata/src/Cache/
H A DFileCache.php5 namespace Metadata\Cache;
30 $path = $this->dir . '/' . strtr($class, '\\', '-') . '.cache.php';
47 $path = $this->dir . '/' . strtr($metadata->name, '\\', '-') . '.cache.php';
49 $tmpFile = tempnam($this->dir, 'metadata-cache');
67 … throw new \RuntimeException(sprintf('(WIN) Could not write new cache file to %s.', $target));
70 … throw new \RuntimeException(sprintf('(WIN) Could not delete temp cache file to %s.', $source));
73 … throw new \RuntimeException(sprintf('Could not write new cache file to %s.', $target));
83 $path = $this->dir . '/' . strtr($class, '\\', '-') . '.cache.php';
/plugin/approve/action/
H A Dcache.php27 /** @var cache_renderer $cache */
28 $cache = $event->data;
30 if(!$cache->page) return;
31 //purge only xhtml cache
32 if($cache->mode != 'xhtml') return;
35 $approve = p_get_metadata($cache->page, 'plugin approve');
39 $cache->_nocache = true;
45 $cache->depends['files'][] = $sqlite->getAdapter()->getDbFile();
/plugin/metaeditor/
H A Daction.php96 $cache = false;
97 $meta = p_read_metadata($pageid, $cache);
112 $cache = false;
113 $meta = p_read_metadata($pageid, $cache);
128 $cache = false;
129 $meta = p_read_metadata($pageid, $cache);
150 $cache = false;
151 $meta = p_read_metadata($pageid, $cache);
193 $cache = false;
194 $meta = p_read_metadata($pageid, $cache);
[all …]
/plugin/authgooglesheets/vendor/google/auth/src/
H A DGCECache.php21 use Psr\Cache\CacheItemPoolInterface;
25 * is used automatically when you pass a `Psr\Cache\CacheItemPoolInterface`
26 * cache object to `ApplicationDefaultCredentials::getCredentials`.
45 * @param array<mixed> $cacheConfig Configuration for the cache
46 * @param CacheItemPoolInterface $cache
50 CacheItemPoolInterface $cache = null argument
52 $this->cache = $cache;
68 if (is_null($this->cache)) {
/dokuwiki/inc/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));
/plugin/abbrlist/
H A Daction.php15 $cache = &$event->data;
16 if(!isset($cache->page)) return;
17 //purge only xhtml cache
18 if($cache->mode != "xhtml") return;
24 $cache->depends['files'][] = DOKU_INC + 'conf/acronyms.conf';
25 $cache->depends['files'][] = DOKU_INC + 'conf/acronyms.local.conf';
/template/knotux/
H A Dsidebar.php32 $cache = getCacheName($localFile.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'],'.xhtml');
34 // check if cache can be used
35 $cachetime = @filemtime($cache); // 0 if not exists
38 && $cachetime > @filemtime($masterFile) // cache is fresh
48 //well then use the cache
49 $parsed = io_readfile($cache);
53 if($info['cache']){
54 io_saveFile($cache,$parsed); //save cachefile
57 @unlink($cache); //try to delete cachefile
/plugin/authgoogle/google/io/
H A DGoogle_CacheParser.php29 * Check if an HTTP request can be cached by a private local cache.
42 // Don't cache authorized requests/responses.
43 // [rfc2616-14.8] When a shared cache receives a request containing an
54 * Check if an HTTP response can be cached by a private local cache.
80 // [rfc2616-14.9.2] If [no-store is] sent in a response, a cache MUST NOT
87 // Pragma: no-cache is an http request directive, but is occasionally
90 if ($pragma == 'no-cache' || strpos($pragma, 'no-cache') !== false) {
94 // [rfc2616-14.44] Vary: * is extremely difficult to cache. "It implies that
95 // a cache cannot determine from the request headers of a subsequent request
162 * Determine if a cache entry should be revalidated with by the origin.
[all …]
/plugin/combo/resources/snippet/js/
H A Dcache.js6 document.querySelectorAll(".combo-cache-item").forEach((metadataControlItem) => {
17 let modalBacklinkId = combo.Html.toHtmlId(`combo-cache-${pageId}`);
27 let html = `<p>List of <a href="https://combostrap.com/page/cache">cache information</a> for the slots of the page (${pageId}).</p>`;
30 * Add the page runtime cache metadata field
32 let cachePageInfo = document.querySelector('script[type="application/combo+cache+json"]');
40 html += `<table class="table table-striped table-hover text-nowrap overflow-auto"><thead><th>Slot</th><th>Output</th><th>Cache <br/>Hit</th><th title="Modification time of the cache file">Modification <br/>Time</th><th>Cache Deps</th><th>Cache Fil
[all...]

12345678910>>...83