News Feed
Sections




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

Brandon Savage's Blog:
Caching For Efficiency With Zend Framework
April 05, 2010 @ 08:48:16

Brandon Savage has posted another in his series looking at useful tips for working with the Zend Framework. This time he focuses on caching your data to help improve its overall performance.

So, given this performance difference [between static pages and Zend Framework-driven pages], how do we improve the performance of Zend Framework while still retaining its functionality and ease-of-use? Well, we employ caching, of course! But not just any caching. One of the beauties of a read-heavy website, especially one that doesn't change all that often, is that we have the ability to cache entire pages and serve them directly using our web server.

He shows how to use the Zend_Cache component to create a simple caching object tat allows you to cache the entire page contents and, with the help of a little mod_rewrite trickery, tell Apache how to grab them (or regenerate them if need be).

1 comment voice your opinion now!
cache zendframework tutorial zendcache modrewrite


blog comments powered by Disqus

Similar Posts

Servers for Hackers: Deployment with Envoy

NETTUTS.com: Top 15+ Best Practices for Writing Super Readable Code

PHPMaster.com: Using the Last.fm API

DevShed: A Quick Overview of the XML DOM Extension in PHP 5

Hari KT's Blog: A simple Blog using Zend framework 1.9


Community Events

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


example voicesoftheelephpant conference podcast performance interview release introduction php7 symfony2 framework opinion api library laravel xdebug extension community version series

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