Issue Type: Docs: Improvement Created: 2008-06-30T11:23:42.000+0000 Last Updated: 2009-10-29T18:43:17.000+0000 Status: Resolved Fix version(s): Reporter: Lukas Smith (lsmith) Assignee: Jordan Ryan Moore (jordanryanmoore) Tags: - Zend_Cache
Related issues: - ZF-4577
Right now there is no API call to read the metadata, besides test(), which does not seem to be documented and I only found out it returns the mtime, while reading the source.
This makes it possible to implement a "fallback" solution. For example one can store an external feed in Zend_Cache. The lifetime is set to lets say 1 day. When trying to update the cache one can first check if the mtime is older than lets say 1 hour. If so an attempt is made to read the data from the original source. If that request fails, I can still fallback on the data in the cache for 1 day since the last request succeeded.
Posted by Fabien MARTY (fab) on 2008-07-05T05:43:10.000+0000
sure, you are right
Posted by Fabien MARTY (fab) on 2009-07-17T11:03:34.000+0000
change Assignee because I'm inactive now
Have you found an issue?
See the Overview section for more details.