Login   Register  
PHP Classes

URI Cache: Cache pages based files based on the request URI

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

  Author Author  
Picture of yinsee
Name: yinsee <e-mail contact>
Packages: 3 Browse all classes by yinsee Browse all classes by
Country: Malaysia Malaysia - PHP jobs in Malaysia
Age: 37
All time rank: 216910 in Malaysia Malaysia
Week rank: 1394 Up7 in Malaysia Malaysia Up

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

  Classes of yinsee  >  URI Cache  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: URI Cache
Base name: uri_cache
Description: Cache pages based files based on the request URI
Version: -
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 455 users
All time rank: 5434
Week users: 0 users
Week rank: 1815 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

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

  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 folder image Files  
File Role Description
Plain text file class.URI_Cache.php Class class object
Accessible without login Plain text file sample1.php Example sample #1 - auto cache

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