remove cache-buster param
parent
b547e000a3
commit
a0a015af95
|
@ -157,12 +157,6 @@ def main():
|
||||||
|
|
||||||
cherrypy.log("Continuing App Init", context='ENGINE', severity=logging.INFO)
|
cherrypy.log("Continuing App Init", context='ENGINE', severity=logging.INFO)
|
||||||
|
|
||||||
# Used to bust the cache on js and css files. This should be the
|
|
||||||
# files' mtime, but the files are not stored on the app server.
|
|
||||||
# This is a `good enough´ replacement though.
|
|
||||||
t = str(int(time.time()))
|
|
||||||
cherrypy.config['css_mtime'] = t
|
|
||||||
cherrypy.config['js_mtime'] = t
|
|
||||||
|
|
||||||
cherrypy.config['all_hosts'] = (
|
cherrypy.config['all_hosts'] = (
|
||||||
cherrypy.config['host'], cherrypy.config['file_host'])
|
cherrypy.config['host'], cherrypy.config['file_host'])
|
||||||
|
|
|
@ -13,14 +13,11 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<style>
|
<style>
|
||||||
.icon { background: transparent url(/pics/sprite.png?${cherrypy.config['css_mtime']}) 0 0 no-repeat; }
|
.icon { background: transparent url(/pics/sprite.png) 0 0 no-repeat; }
|
||||||
</style>
|
</style>
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css" href="/gutenberg/pg-desktop-one.css" />
|
||||||
href="/gutenberg/pg-desktop-one.css?${cherrypy.config['css_mtime']}" />
|
<link rel="stylesheet" type="text/css" href="/gutenberg/new_nav.css"/>
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css" href="/gutenberg/style.css"/>
|
||||||
href="/gutenberg/new_nav.css?${cherrypy.config['css_mtime']}"/>
|
|
||||||
<link rel="stylesheet" type="text/css"
|
|
||||||
href="/gutenberg/style.css?${cherrypy.config['css_mtime']}"/>
|
|
||||||
|
|
||||||
<script type="text/javascript">//<![CDATA[
|
<script type="text/javascript">//<![CDATA[
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
|
@ -31,8 +28,7 @@
|
||||||
var dialog_title = "";
|
var dialog_title = "";
|
||||||
var dialog_message = "";
|
var dialog_message = "";
|
||||||
//]]></script>
|
//]]></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript" src="/js/pg-desktop-one.js" />
|
||||||
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />
|
|
||||||
<link rel="shortcut icon" href="/gutenberg/favicon.ico" />
|
<link rel="shortcut icon" href="/gutenberg/favicon.ico" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||||
|
|
|
@ -12,15 +12,12 @@
|
||||||
?>
|
?>
|
||||||
<py:def function="site_head">
|
<py:def function="site_head">
|
||||||
<style >
|
<style >
|
||||||
.icon { background: transparent url(/pics/sprite.png?${cherrypy.config['css_mtime']}) 0 0 no-repeat; }
|
.icon { background: transparent url(/pics/sprite.png) 0 0 no-repeat; }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css" href="/gutenberg/pg-desktop-one.css" />
|
||||||
href="/gutenberg/pg-desktop-one.css?${cherrypy.config['css_mtime']}" />
|
<link rel="stylesheet" type="text/css" href="/gutenberg/new_nav.css"/>
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css" href="/gutenberg/style.css"/>
|
||||||
href="/gutenberg/new_nav.css?${cherrypy.config['css_mtime']}"/>
|
|
||||||
<link rel="stylesheet" type="text/css"
|
|
||||||
href="/gutenberg/style.css?${cherrypy.config['css_mtime']}"/>
|
|
||||||
|
|
||||||
<!--! IE8 does not recognize application/javascript -->
|
<!--! IE8 does not recognize application/javascript -->
|
||||||
<script>//<![CDATA[
|
<script>//<![CDATA[
|
||||||
|
@ -32,8 +29,7 @@
|
||||||
var dialog_message = "${os.user_dialog[0]}";
|
var dialog_message = "${os.user_dialog[0]}";
|
||||||
//]]></script>
|
//]]></script>
|
||||||
|
|
||||||
<script
|
<script src="/js/pg-desktop-one.js" />
|
||||||
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/gutenberg/favicon.ico" />
|
<link rel="shortcut icon" href="/gutenberg/favicon.ico" />
|
||||||
<link rel="canonical" href="${os.canonical_url}" />
|
<link rel="canonical" href="${os.canonical_url}" />
|
||||||
|
|
Loading…
Reference in New Issue