svn: /web/php/trunk/include/ header.inc

From: Date: Sat, 01 Jan 2011 13:25:37 +0000
Subject: svn: /web/php/trunk/include/ header.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10143@lists.php.net to get a copy of this message
bjori Sat, 01 Jan 2011 13:25:37 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306946 Log: disable page caching too :] Changed paths: U web/php/trunk/include/header.inc Modified: web/php/trunk/include/header.inc =================================================================== --- web/php/trunk/include/header.inc 2011-01-01 08:39:38 UTC (rev 306945) +++ web/php/trunk/include/header.inc 2011-01-01 13:25:37 UTC (rev 306946) @@ -1,4 +1,10 @@ -<?php $v = "?v=" .$_SERVER["REQUEST_TIME"]; // Disable caching, annoying while developing ?> +<?php +// Disable caching, annoying while developing +$v = "?v=" .$_SERVER["REQUEST_TIME"]; +header("Expires: Thu, 19 Nov 1981 08:52:00 GMT"); +header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0"); +header("Pragma: no-cache"); +?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $lang?>"> <head>

« previous php.webmaster (#10143) next »