PHP Classes
Icontem

Class: URI Cache


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of yinsee  >  URI Cache  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: URI Cache Support forum
Base name: uri_cache
Description: Cache pages based files based on the request URI
Version: -
Required PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 310 users
All time rank: 4323
Week users: 3 users
Week rank: 2237
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of yinsee
Name: yinsee <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Malaysia Malaysia - PHP jobs in Malaysia
Home page: ???
Age: ???
All time rank: 1981
Week rank: 1153

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
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

Detailed description

This class can be used to cache whole pages on files with names based on the request URI.

It takes the current request URI and uses MD5 to compute the name of a file that should store the cached version of the current page.

If the computed cache file does not exist, it starts capturing the output of the current script and stores it in the cache file when the script ends.

If the cache file exists, it reads the cache file contents and outputs it.

The cache file directory and the cached files lifetime are configurable parameters.

User ratings

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

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

File Role Description
Plain text file class.URI_Cache.php Class class object
Plain text file sample1.php Example sample #1 - auto cache
Download all files: uri_cache.tar.gz uri_cache.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products