Lines Matching defs:cache
80 public $cache_location = './cache';
96 private $cache = null;
136 public function pass_cache_data($enable_cache = true, $cache_location = './cache', $cache_name_function = 'md5', $cache_class = 'SimplePie\Cache', DataCache $cache = null)
164 if ($cache !== null) {
165 $this->cache = $cache;
416 // If image handling (caching, etc.) is enabled, cache and rewrite all the image tags.
423 $cache = $this->get_cache($image_url);
425 if ($cache->get_data($image_url, false)) {
432 if ($cache->set_data($image_url, ['headers' => $file->headers, 'body' => $file->body], $this->cache_duration)) {
642 if ($this->cache === null) {
643 // @trigger_error(sprintf('Not providing as PSR-16 cache implementation is deprecated since SimplePie 1.8.0, please use "SimplePie\SimplePie::set_cache()".'), \E_USER_DEPRECATED);
644 $cache = $this->registry->call(Cache::class, 'get_handler', [
650 return new BaseDataCache($cache);
653 return $this->cache;