Zend_Cache to cache an object


Posted by Andrew McCombe on Thu Jun 18, 2009

Here’s how to cache an object using Zend_Cache:

Note: The reason that "automatic_serialization" is set to false and then I manually serialize and unserialize is that "automatic_serialization" didn’t work.