Hi all,

I'm having trouble figuring out how to cache a config.xml for my ZF
application. I should use 'File' as the frontend, but how do I pass the
environment variable to the cache? Should I be using different XML
configuration files in order to accomodate either my development, testing
and staging environments? That doesn't seem right.

In other words, how do I best cache this config object using File as the
Zend_Cache frontend?

self::$_config = new
Zend_Config_Xml("{$this->_root}/application/config.xml", $this->_env);

Thanks for your input and help!

GJ
-- 
View this message in context: 
http://www.nabble.com/Caching-xml-files-with-Zend_Cache-tp25767628p25767628.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to