Data is stored in files, local memory (apc), distributed system like
memcached...
On each request you compare cache key and expiry time with what's in the
backend.
So you don't need to share anything, to make caching work.

Karol


debussy007 wrote:
> 
> If I'm not wrong there will be always a "miss" for every request, since
> nothing is shared.
> That's why I do not understand the use for it, not the use to save the
> cache
> 
> 
> 
> JDempster wrote:
>> 
>> They're just the settings for the object on how to use the cache. Cache
>> settings.
>> 
>> You can then use ->load( ) and ->save( ) to use the cache.
>> 
>> Also if you want a shared architecture between requests you can use APC
>> which Zend_Cache supports.
>> 
>> On Sun, Mar 23, 2008 at 9:20 AM, debussy007 <[EMAIL PROTECTED]> wrote:
>> 
>>>
>>> Hi,
>>>
>>> When I initiate the cache (e.g. Zend_Cache::factory('Core', 'File',
>>> $frontendOptions, $backendOptions);) in the bootstrap file (index.php),
>>> I
>>> think that the Cache will get a new lifetime for each request, so I do
>>> not
>>> understand the point of having a cache since it is created for each
>>> request.
>>> And since Php doesn't have a shared architecture between requests, I
>>> cannot
>>> share the cache for all the requests, so I do not understand the point
>>> of
>>> Zend_Cache.
>>>
>>> Thank you for any clarification :-)
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Zend_Cache-questions-tp16232890s16154p16232890.html
>>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_Cache-questions-tp16232890s16154p16237621.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to