cvs: pres2 / show.php

From: Date: Fri, 01 Nov 2002 23:18:40 +0000
Subject: cvs: pres2 / show.php
Groups: php.pres 
Request: Send a blank email to pres+get-463@lists.php.net to get a copy of this message
lhl Fri Nov 1 18:18:40 2002 EDT Modified files: /pres2 show.php Log: Adds Last-Modified HTTP header based on slide last modified time stamp Index: pres2/show.php diff -u pres2/show.php:1.36 pres2/show.php:1.37 --- pres2/show.php:1.36 Thu Oct 24 09:51:35 2002 +++ pres2/show.php Fri Nov 1 18:18:40 2002 @@ -85,6 +85,9 @@ switch($navmode) { case 'html': case 'flash': + // facilitate caching + header("Last-Modified: " . date("r", filemtime($slideDir))); + echo <<<HEADER <html> <head>

« previous php.pres (#463) next »