remove cache-buster param
parent
b547e000a3
commit
a0a015af95
|
@ -157,12 +157,6 @@ def main():
|
|||
|
||||
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['host'], cherrypy.config['file_host'])
|
||||
|
|
|
@ -13,14 +13,11 @@
|
|||
|
||||
<head>
|
||||
<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>
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="/gutenberg/pg-desktop-one.css?${cherrypy.config['css_mtime']}" />
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="/gutenberg/new_nav.css?${cherrypy.config['css_mtime']}"/>
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="/gutenberg/style.css?${cherrypy.config['css_mtime']}"/>
|
||||
<link rel="stylesheet" type="text/css" href="/gutenberg/pg-desktop-one.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/gutenberg/new_nav.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/gutenberg/style.css"/>
|
||||
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
//<![CDATA[
|
||||
|
@ -31,8 +28,7 @@
|
|||
var dialog_title = "";
|
||||
var dialog_message = "";
|
||||
//]]></script>
|
||||
<script type="text/javascript"
|
||||
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />
|
||||
<script type="text/javascript" src="/js/pg-desktop-one.js" />
|
||||
<link rel="shortcut icon" href="/gutenberg/favicon.ico" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
|
|
|
@ -12,15 +12,12 @@
|
|||
?>
|
||||
<py:def function="site_head">
|
||||
<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>
|
||||
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="/gutenberg/pg-desktop-one.css?${cherrypy.config['css_mtime']}" />
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="/gutenberg/new_nav.css?${cherrypy.config['css_mtime']}"/>
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="/gutenberg/style.css?${cherrypy.config['css_mtime']}"/>
|
||||
<link rel="stylesheet" type="text/css" href="/gutenberg/pg-desktop-one.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/gutenberg/new_nav.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/gutenberg/style.css"/>
|
||||
|
||||
<!--! IE8 does not recognize application/javascript -->
|
||||
<script>//<![CDATA[
|
||||
|
@ -32,8 +29,7 @@
|
|||
var dialog_message = "${os.user_dialog[0]}";
|
||||
//]]></script>
|
||||
|
||||
<script
|
||||
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />
|
||||
<script src="/js/pg-desktop-one.js" />
|
||||
|
||||
<link rel="shortcut icon" href="/gutenberg/favicon.ico" />
|
||||
<link rel="canonical" href="${os.canonical_url}" />
|
||||
|
|
Loading…
Reference in New Issue