phpflickr
phpflickr copied to clipboard
Does v6.01 support local filesystem caching?
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()
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