Issues

ZF-10438: Zend_Locale, Zend_Currency cache clearing -> Zend_Locale_Data should use tagging when backend is capable of it

Description

I pass my cache object to Zend_Locale::setCache or Zend_Currency and when I call Zend_*::clearCache() it clears complete cache - no matter who worte it. problem is that one server is used by few projects and they all lose cache.

Since these components use Zend_Locale_data::clearCache() (and for future components that will use) there should be used getCapabilities() to determine whether the cache returns tags. It should use tags rather than clearing it all - if cache is capable of tags - otherwise clear all.

Similar problem was in Zend_Translate : http://framework.zend.com/issues/browse/ZF-10166 but translate deals with cache inside it's own class.

Comments

Added with GH-107