News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Caching of Zend Framework application configuration file
May 27, 2011 @ 12:02:02

On the Zend Developer Zone today there's a new post showing how you can cache your application configuration file to boost the performance of your Zend Framework application just a little bit more.

If you think that you've done everything in terms of performance optimization of your Zend Framework-based project, I bet that your application configuration file was not included in that process. [...] Reason why I'm referring to application config is that its parsing is performed on every request, which is certainly unnecessary, as you don't make configuration changes very often. Solution is simple - cache it.

He opts for an APC-based solution that, in the bootstrap, reads in the configuration file and caches it as a part of a custom Zend_Application object. Code is included for both the addition to the bootstrap and the custom class extending Zend_Application to handle the actual caching.

0 comments voice your opinion now!
zendframework application configuration cache apc


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: PHP Abstract Podcast Episode 13: Introduction to the Zend Framework

Gonzalo Ayuso's Blog: Clustering PHP applications. Tips and hints

Padraic Brady's Blog: Self-Contained Reusable Zend Framework Modules With Standardised Configurators

Matthew Weier O'Phinney's Blog: View Layers, Database Abstraction, Configuration, Oh, My!

Daniel Cousineau' Blog: A Lesson in Good Architecture


Community Events





Don't see your event here?
Let us know!


language symfony community install release wordpress framework series list introduction unittest configure podcast code application threedevsandamaybe interview developer api library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework