Roundup Tracker - Issues

Issue 692101

classification
static file caching
Type: Severity: normal
Components: None Versions:
process
Status: closed fixed
:
: : richard
Priority: normal : patch

Created on 2003-02-24 09:14 by anonymous, last changed 2003-02-26 05:03 by richard.

Messages
msg2615 Author: [hidden] (anonymous) Date: 2003-02-24 09:14
currently, roundup does not send "Expires" header or 
response with a 304 to If-Modified-Since requests. This 
leads to reloading of static resources on every page 
serve. An easy workaround would be to add a Cache-
control header to static responses. For example, add 
the following line to Client.serve_static_file():

self.additional_headers['Cache-control'] = "max-
age=7200"
msg2616 Author: [hidden] (richard) Date: 2003-02-26 05:03
Logged In: YES 
user_id=6405

I've implemented last-modified and if-modified-since support. 
History
Date User Action Args
2003-02-24 09:14:17anonymouscreate