Are there PHP libraries to cache webpages?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
guarriman
Forum Commoner
Posts: 44
Joined: Thu Nov 03, 2005 4:11 am

Are there PHP libraries to cache webpages?

Post by guarriman »

Hi.

I'm using PHP 4 with Apache 2, and would like to share experiencies with PHP libraries to cache webpages.

I've got some webpages dinamically generated with mySQL data. These data changes 1-2 times per day, and it's not worth reading DataBase each time one user accesses my webpage, since it's "nearly" static.

So, I'm trying to find a PHP library which caches these webpage each time data are changed.

Is there anyone? Thank you very much.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Sounds pretty straightforward. Have you considered implementing something like this yourself?

The Zend Framework has a nice caching library, but it's php5.

There's always this:
http://www.google.com/search?q=php+cach ... se+results

:D
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

TemplateLite has a neat little caching feature. It is a PHP4 app, but you are more than likely going to need to sift through the code to see how it is implemented.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Yes, PEAR and Zend Framework have caching librarie. And many template libraries have caching built-in.
(#10850)
Post Reply