Hi,

I want to store the cache files at a dynamic location.

e.g.
./tmp/123/
./tmp/3467/
./tmp/18/
etcetera

But when calling save(), seems that I cannot specify a subdirectory
unfortunately.

So is there any way to achieve that ?

This is how I use Zend_Cache, but now all files are in "./tmp/" :
$frontendOptions = array('lifetime' => NULL, 'automatic_serialization' =>
true);
$backendOptions = array('cache_dir' => './tmp/');
$cache = Zend_Cache::factory('Core', 'File', $frontendOptions,
$backendOptions);


Thank you for any help!
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Cache-and-dynamic-backend-location-tp2552648p2552648.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to