Commit: 4ec12bba09b4938d64811317708413304c60ed36 Author: Hannes Magnusson <[email protected]> Mon, 10 Mar 2014 10:34:40 -0700 Parents: 439f7404168c0afa6890b1e37021dbbde667e486 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=4ec12bba09b4938d64811317708413304c60ed36 Log: Actually cache the page for a month Changed paths: M cached.php Diff: diff --git a/cached.php b/cached.php index 99cda6a..6793c04 100644 --- a/cached.php +++ b/cached.php @@ -30,6 +30,7 @@ if (isset($_SERVER["HTTP_IF_MODIFIED_SINCE"]) && } header("Last-Modified: " . $tsstring); +header("Cache-Control: no-transform,public,max-age=2678400,s-maxage=2678400"); if (substr($abs, -3) == ".js" || substr($abs, -5) == ".json") { header("Content-Type: application/javascript"); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
