Commit: f97c8114125b77806eb6e6797704761dcd4ea8cf Author: Hannes Magnusson <[email protected]> Tue, 3 Dec 2013 23:31:08 -0800 Parents: d660a766d0b8232f34da93b4893db92e5653ec61 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=f97c8114125b77806eb6e6797704761dcd4ea8cf Log: This should be fully cached too Changed paths: M include/header.inc Diff: diff --git a/include/header.inc b/include/header.inc index 699b8a7..3ca0cbb 100755 --- a/include/header.inc +++ b/include/header.inc @@ -73,7 +73,7 @@ if (isset($shortname) && $shortname) { $jsfiles = array('ext/modernizr.js'); foreach ($jsfiles as $filename) { $path = dirname(dirname(__FILE__)).'/js/'.$filename; - echo '<script type="text/javascript" src="/js/'.$filename.'?t='.@filemtime($path).'"></script>'; + echo '<script type="text/javascript" src="cached.php?f=/js/'.$filename.'&t='.@filemtime($path).'"></script>'; } ?> </head> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
