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

Chris Shiflett's Blog: PHP Tidbits

Zend Developer Zone: Paging and Sorting Data with Zend Framework, Doctrine and PEAR (part 1)

Jeremy Cook's Blog: Implementing the ArrayAccess Interface

PHPMaster.com: Simplifying Test Data Generation with Faker

Henri Berguis' Blog: Literate Programming With PHP


Community Events





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


security version voicesoftheelephpant interview introduction mvc update opinion release package library laravel series composer podcast language framework symfony tool community

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