Login   Register  
PHP Classes

gCache: Capture and cache Web page content

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

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

Winner: 5x

  Detailed description   Download 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 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: 763 users
All time rank: 4032
Week users: 0 users
Week rank: 1419 Equal
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

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

  User ratings  
Not enough user ratings

  Pages that reference this package  
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)...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
No pages of applications that use this class were specified.
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 folder image Files  /  cache  
File Role Description
  Accessible without login Plain text file .dummy Data Dummy file for create the "cache" folder

Download 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.