Page 1 of 1

Are there PHP libraries to cache webpages?

Posted: Thu Feb 01, 2007 10:57 am
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.

Posted: Thu Feb 01, 2007 11:08 am
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

Posted: Thu Feb 01, 2007 7:10 pm
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.

Posted: Thu Feb 01, 2007 9:52 pm
by Christopher
Yes, PEAR and Zend Framework have caching librarie. And many template libraries have caching built-in.