<?php /** * Example of usage of class AutoExpires. * @author Rubens Takiguti Ribeiro <rubs33@gmail.com> */ require_once('AutoExpires.class.php');
// Configure to check if content was modified (ignore expires time) AutoExpires::setStrategies(array('if-modified'));
// Start AutoExpires::start();
// Print the document echo 'Dynamic content: ' . $_GET['value']; exit(0);
|