PHP Classes

PHP Server and Browser Cache: Cache pages on the server and on the browser side

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 523 This week: 1All time: 5,688 This week: 105Up
Version License PHP version Categories
server-browser-cache 1.0GNU General Publi...5.0HTTP, PHP 5, Cache


This class can cache pages on the server and on the browser side.

It can capture the output of a page and save it on cache files, so the cached data can be served next time the page is accessed before the cache expiry time is reached.

The class can also send HTTP response headers to tell the browser to cache the served pages and avoid sending server requests for that page again until the cache expires.

Picture of Raul Molnar
Name: Raul Molnar <contact>
Classes: 3 packages by
Country: Romania Romania
Age: 41
All time rank: 129532 in Romania Romania
Week rank: 107 Up3 in Romania Romania Up
Innovation award
Innovation award
Nominee: 1x

  • client-and-server-caching.png
  Files folder image Files  
File Role Description
Files folder imageclass (1 file)
Accessible without login Plain text file demo.php Example Server side demo
Accessible without login Plain text file manual.txt Doc. Documentation ans few more examples
Accessible without login Plain text file server-side-test.php Aux. Server side test benchmark

  Files folder image Files  /  class  
File Role Description
  Plain text file cache.php Class The cache class

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:5,688
This week:105Up