ZF-8991: Zend_Cache_Backend_Memory
Description
Would be great to have a backend cache component, which will hold information in static variable, in memory.
This is the implementation, which could be used "as is" or with some corrections: http://code.google.com/p/fazend/…
Comments
Posted by Ben Scholzen (dasprid) on 2010-01-28T05:22:14.000+0000
This looks like Zend_Registry.
Posted by Yegor Bugayenko (yegor256) on 2010-01-28T05:29:25.000+0000
Right, but Zend_Registry doesn't implement Zend_Cache_Backend_Interface, and thus can't be used in caching.
Posted by Yegor Bugayenko (yegor256) on 2010-01-28T05:30:47.000+0000
Desired use case:
$cache = Zend_Cache::factory( 'Core', new Zend_Cache_Backend_Memory(), ); Zend_Db_Table_Abstract::setDefaultMetadataCache($cache);
Posted by Marc Bennewitz (private) (mabe) on 2010-02-18T12:45:09.000+0000
This is planned on refactoring and named Zend_Cache_Backend_Array
Posted by Marc Bennewitz (private) (mabe) on 2012-01-09T19:47:34.000+0000
This issue is now fixed in ZF2-136
I removed the flag to be fixed in ZF2 to feel free implementing it for ZF1.