[UPHPU] caching database driven php

Steve Dibb steve at wonkabar.org
Fri Dec 1 16:26:39 MST 2006


Daniel wrote:
> I want to cache php files that display data from a database.  The code
> will stay the same, but the data may not.  Is there a way to cache
> these types of pages? 
If youre using querystrings to uniquely identify the data you are 
pulling, then you can use the URL as a unique ID, and then PEAR's 
Cache_Lite to cache it for you.

That's what I'm doing for my site[1].  The class has a lot of good options.

http://pear.php.net/Cache_Lite

Steve

1. http://spaceparanoids.org/gentoo/gpnl/


More information about the UPHPU mailing list