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   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 525 All time: 5,683 This week: 673Up
Version License PHP version Categories
server-browser-cache 1.0GNU General Publi...5.0HTTP, PHP 5, Cache
Description 

Author

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: 42
All time rank: 129532 in Romania Romania
Week rank: 200 Up2 in Romania Romania Up
Innovation award
Innovation award
Nominee: 1x

Screenshots (1)  
  • client-and-server-caching.png
  Files folder image Files (5)  
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 (5)  /  class  
File Role Description
  Plain text file cache.php Class The cache class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:525
This week:0
All time:5,683
This week:673Up