News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
PHPit.net:
How to build a simple caching system, with PHP
November 07, 2005 @ 06:04:25

In this new post from PHPit.net today, they step you through how to create a caching system for your website using the wonders of output buffering.

When you run a popular website that uses PHP and MySQL you will most likely notice that your website becomes slow when your website is at its busiest. If you've really optimized your PHP script and MySQL server, you'll probably be able squeeze some additional performance out of your website, but there comes a time when it's just too much to handle. That's where caching comes in.

In this tutorial, I'm going to show you how to create a bare-bones caching system. Our system will be able to cache a complete page, by using the output buffer to save its HTML.

He starts you off with a simple callback to grab the information in the script, tag it with a timestamp, and plenty of code you help you combine that into a simple caching system...

0 comments voice your opinion now!




Similar Posts

Community News: Latest PEAR Releases for 09.21.2009

Community News: Latest PEAR Releases for 05.04.2009

Site News: Job Postings for the week of 09.27.2009

Community News: Latest PEAR Releases for 06.29.2009

Community News: Latest PECL Releases for 06.02.2009


Community Events









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


facebook zendframework developer windows codeigniter conference performance release hiphop microsoft sqlserver framework podcast job opinion feature wordpress extension symfony zend

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