Alex Rivera | Logout

How do I cache a web page in PHP?

Asked 2009-10-10T08:22:39.053
18

how do I cache a web page in php so that if a page has not been updated viewers should get a cached copy?

Thanks for your help. PS: I am beginner in php.

Edit
Report

1 Answer

0

PEAR has a caching package (actually two):

http://pear.php.net/package/Cache and
http://pear.php.net/package/Cache_Lite for smaller apps

I once used the Cache package (first one) for query caching and at that time it did its work as far as I remember.

answered 2009-10-10T08:39:07.810

Your Answer