Roundup Tracker - Issues

Issue 2550991

Title: Some mechanism to set expiration header or max age for static resources
Type: resource usage Severity: normal
Components: Web interface Versions: devel
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rouilj
Priority: normal Keywords:

Created on 2018-08-11 02:26 by rouilj, last changed 2018-08-11 02:26 by rouilj.

msg6179 Author: [hidden] (rouilj) Date: 2018-08-11 02:26
The roundup-server doesn't set any cache control (max-age, expires)
headers on static files.

This means javascript, image and other static resources have to be
retrieved on each page load.

I think for initial implementation setting a max-age by
data type:

  .js text/javascript maxage=2weeks,
 .css text/css maxage=2months

is sufficient for @@file assets and attached assets.

Also setting a max-age for attached assets otherwise not specified
(e.g. a file attached to an issue accessed via:
should work for initial implementation.
Date User Action Args
2018-08-11 02:26:05rouiljcreate