phpflickr icon indicating copy to clipboard operation
phpflickr copied to clipboard

Does v6.01 support local filesystem caching?

Open ljhardy opened this issue 3 months ago • 1 comments

The caching example only show Symphony caching, is local filesystem caching of pics supported?

cache_dir = __DIR__ . "flickr_cache";
$f->enableCache("fs",$cache_dir,600);

PHP Fatal error: Uncaught Error: Call to undefined method Samwilson\PhpFlickr\PhpFlickr::enableCache()

ljhardy avatar Sep 07 '25 19:09 ljhardy

Filesystem caching is supported by the Symfony package. Have a look at examples/caching.php:

https://github.com/samwilson/phpflickr/blob/main/examples/caching.php#L25-L26

samwilson avatar Sep 08 '25 00:09 samwilson