News Feed
Sections




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

MelonFire Community:
Caching Web Sites With PEAR Cache
November 21, 2006 @ 09:37:00

From the MelonFire community pages comes a new tutorial today talking about caching websites with a pre-existing PEAR package, PEAR_Cache.

More often than not, today's Web sites more closely resemble the big black truck crawling along the freeway than the little red Ferrari zipping through traffic. Fortunately, it's not all doom and gloom. By "caching" certain sections of your Web site, you can reduce the load on your server, significantly improve application response times and make your users happier.

They get down to the basics first, talking about what caching is and what it can do to help you and your application. This is quickly followed by some sample code to get the ball rolling, showing how to cache a simple string automatically. The next obvious step is to cache the contents of an entire dynamically generated file or automatically cache an entire application (without the need to do each file independently).

There's a few other examples they include as well - caching time, partial content, results from XML requests, and how to use a database to store your cached information.

0 comments voice your opinion now!
caching website file page pear cache package database tutorial caching website file page pear cache package database tutorial


blog comments powered by Disqus

Similar Posts

Jim Plush\'s Blog: Holy Shit Batman - Sites popping up to decode Zend encoded files!

Community News: Latest PEAR Releases for 10.02.2006

Cormac's Blog: Fast server-side rejection of large image uploads using $_FILES

DevShed: Creating the Blog Script for a PHP/MySQL Blogging System (Part 2)

Ralph Schindler's Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard


Community Events





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


version library interview podcast tool release language community composer conference symfony artisanfiles opinion voicesoftheelephpant framework series laravel list security introduction

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