PHP Classes
elePHPant
Icontem

gCache: Capture and cache Web page content

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-11-16 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 781 All time: 4,145 This week: 1,082Up
Version License PHP version Categories
gcache 3.0Public Domain3.0Files and Folders, Cache
Description Author

This class can be used to capture and cache Web page content.

It can store cached content in files of a given directory. It uses an OS independent file locking to prevent that simultaneous attempts to update the cache files corrupt them.

First it checks whether the cache file exist and has not expired. In that case it retrieves the cache content into a class variable.

If the cache does not exist or has expired, the class can start capturing the output of the current script. When the script is done, the class can store the captured content in the cache file.

Picture of Cesar D. Rodas
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 37 packages by
Country: Paraguay Paraguay
Age: 28
All time rank: 71 in Paraguay Paraguay
Week rank: 46 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

Winner: 5x

  Files folder image Files  
File Role Description
Files folder imagecache (1 file)
Plain text file gCache.php Class Main class
Accessible without login Plain text file test1.php Example Test File
Accessible without login Plain text file test2.php Example Testing cache with parts of a page

  Files folder image Files  /  cache  
File Role Description
  Accessible without login Plain text file .dummy Data Dummy file for create the "cache" folder

 Version Control Unique User Downloads Download Rankings  
 0%
Total:781
This week:0
All time:4,145
This week:1,082Up