svn: /web/php/branches/PROTOTYPE_2010/ header.php
| From: | Hannes Magnusson | Date: | Sun, 26 Dec 2010 12:24:53 +0000 |
| Subject: | svn: /web/php/branches/PROTOTYPE_2010/ header.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9806@lists.php.net to get a copy of this message | ||
bjori Sun, 26 Dec 2010 12:24:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306665
Log:
Lets make the browser fetch these files again and again and again and
again..
Changed paths:
U web/php/branches/PROTOTYPE_2010/header.php
Modified: web/php/branches/PROTOTYPE_2010/header.php
===================================================================
--- web/php/branches/PROTOTYPE_2010/header.php 2010-12-26 12:24:32 UTC (rev 306664)
+++ web/php/branches/PROTOTYPE_2010/header.php 2010-12-26 12:24:53 UTC (rev 306665)
@@ -1,3 +1,4 @@
+<?php $v = "?v=" .$_SERVER["REQUEST_TIME"]; // Disable caching, annoying
while developing ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="<?php echo $MY_LANG?>" lang="<?php echo $MY_LANG?>">
@@ -13,15 +14,15 @@
<link rel="alternate" type="application/atom+xml" title="PHP:
Hypertext Preprocessor" href="http://www.php.net/feed.atom" />
<link rel="canonical" href="http://php.net/index.php" />
- <link rel="stylesheet" type="text/css" href="/css/reset.css"
media="all" />
- <link rel="stylesheet" type="text/css" href="/css/structure.css"
media="screen" />
- <link rel="stylesheet" type="text/css" href="/css/doc.css"
media="screen" />
- <link rel="stylesheet" type="text/css" href="/css/theme.css"
media="screen" />
+ <link rel="stylesheet" type="text/css" href="/css/reset.css<?php
echo $v?>" media="all" />
+ <link rel="stylesheet" type="text/css"
href="/css/structure.css<?php echo $v?>" media="screen" />
+ <link rel="stylesheet" type="text/css" href="/css/doc.css<?php echo
$v?>" media="screen" />
+ <link rel="stylesheet" type="text/css" href="/css/theme.css<?php
echo $v?>" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript"
src="/js/jquery.hoverIntent.minified.js"></script>
<script type="text/javascript"
src="/js/jquery.autocomplete.js"></script>
- <script type="text/javascript" src="/js/common.js"></script>
+ <script type="text/javascript" src="/js/common.js<?php echo
$v?>"></script>
<base href="<?php echo $_SERVER["BASE_PAGE"] ?>" />
</head>