Login   Register  
PHP Classes
elePHPant
Icontem

gCache

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Cesar D. Rodas
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Packages: 36 Browse all classes by Cesar D. Rodas Browse all classes by
Country: Paraguay Paraguay - PHP jobs in Paraguay
Age: 25
All time rank: 71 in Paraguay Paraguay
Week rank: 17 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 5x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Cesar D. Rodas  >  gCache  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: gCache
Base name: gcache
Description: Capture and cache Web page content
Version: 3.0
PHP version: 3.0
License: Public Domain
All time users: 735 users
All time rank: 3936
Week users: 1 user
Week rank: 2173 Up
 
  Groups   Freshmeat project   Rate classes User ratings  
  Trackback   Applications   Files Files  

  Groups  
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes


  Freshmeat project  
Project record: gcache
Popularity score: 18.0
Vitality score: 46.42

  User ratings  
There are not enough user ratings to display for this class.

  Trackback links  
Link Description
15 methods to boost your PHP based website's performance PHP is great for writing quick dynamic stuff for your website...
Boost PHP Performance PHP is great for writing quick dynamic stuff for your website.
Cesarodas.com: gCache: Helping PHP to work faster On Cesarodas.com, Saddor as created a simple class to help with caching information in a PHP application - specifically when it comes to capturing output (like HTML generated for the page)...
Come incrementare la velocità di php Caching output in PHP - Caching of output in PHP is made easier by the use of the output buffering functions built in to PHP 4 and above...
gCache: Helping PHP to work faster The gCache is a Class that could be download freely from here
Optimizando sitios webs utilizando gcache Hoy en día con sitios como digg, meneame o similares, es muy fácil llegar a tener miles de visitas diarias...
¿como mejorar el rendimiento de un sitio web? En estos días, después de terminar la beta de mi nuevo sitio para compartir archivos FileS3, me puesto en teoría mis conocimientos sobre optimización de paginas webs (para mejor rendimiento, nada que ver con el SEO, esa es otra rama)...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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  /  Files folder image cache  
File Role Description
  Accessible without login Plain text file .dummy Data Dummy file for create the "cache" folder

Download all files: gcache.tar.gz gcache.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.