I was looking for caching HTML / Text content for a small site using php. I basically save the dynamic navigation menu for the site, the generated HTML report from the database, etc. First of all, I'm looking for session-based caching (is this a bad idea?). It can also be file based.
Any existing solution is greatly appreciated. For example, the Zend Framework is well known for its loosely coupled components. Thus, Zend_Cache may be a candidate, but could not find a session-based cache adapter. Moreover, it is not a fully independent component. Can anyone tell me which classes I need to use to use Zend_Cache?
Another option is PEAR - Cache_Lite, what do you take on?
Is there any other structure where I can easily separate the caching component from and use it with a lesser learning curve?
Thanks.
source
share