Login   Register  
PHP Classes
elePHPant
Icontem

Auto Expires

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

  Author  
Picture of Rubens Takiguti Ribeiro
Name: Rubens Takiguti Ribeiro is available for providing paid consulting. Contact Rubens Takiguti Ribeiro .
Packages: 7 Browse all classes by Rubens Takiguti Ribeiro Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 29
All time rank: 79156 in Brazil Brazil
Week rank: 22 Up2 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download .zip .tar.gz  
This class can set HTTP headers to control browser cache.

It takes parameter that determine how the current page or other Web resource should be cached by the browser.

The class sends HTTP response headers using different strategies considering the desired caching parameters and the request headers sent by the browser.

Currently it can HTTP 304 content not modified response status based on desired cache time, on content modification, or a custom strategy defined by a given callback function.

  Classes of Rubens Takiguti Ribeiro  >  Auto Expires  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Auto Expires
Base name: auto-expires
Description: Set HTTP headers to control browser cache
Version: 1.0
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 310 users
All time rank: 6050
Week users: 3 users
Week rank: 947 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes


  User ratings  
Not yet rated by the users

  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.

  Related links  
Link Description
Reference HTTP Header Field Definitions

  Files folder image Files  
File Role Description
Plain text file AutoExpires.class.php Class Main Class
Accessible without login Plain text file example1.php Example Example of basic usage
Accessible without login Plain text file example2.php Example Example of cache on content modified
Accessible without login Plain text file example3.php Example Example of cache on time expired
Accessible without login Plain text file example4.php Example Example of cache forever
Accessible without login Plain text file test1.php Test Test of example1.php
Accessible without login Plain text file test2.php Test Test of example2.php
Accessible without login Plain text file test3.php Test Test of example3.php
Accessible without login Plain text file test4.php Test Test of example4.php
Accessible without login Plain text file LICENSE.TXT Lic. License

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