ZF-8991: Zend_Cache_Backend_Memory

Issue Type: Improvement Created: 2010-01-28T05:20:31.000+0000 Last Updated: 2012-01-09T19:47:35.000+0000 Status: Open Fix version(s): Reporter: Yegor Bugayenko (yegor256) Assignee: Marc Bennewitz (private) (mabe) Tags: - Zend_Cache

Related issues: Attachments:


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:…


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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.