Re: [fw-general] Caching xml files with Zend_Cache

2009-10-06 Thread GJ Bogaerts
Never mind, I figured it out. Makes sense, of course... $configPath = $this->_root . '/application/config.xml'; $frontend = array( 'master_files' => array( $configPath), 'automatic_serialization' => true); $backend = array();

[fw-general] Caching xml files with Zend_Cache

2009-10-06 Thread GJ Bogaerts
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 stag