Issue 2550991
Created on 2018-08-11 02:26 by rouilj, last changed 2021-12-09 22:47 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:
https://mytracker.example.com/demo/file1/android-chrome-192x192.png)
should work for initial implementation.
|
msg7411 |
Author: [hidden] (rouilj) |
Date: 2021-12-09 22:39 |
|
changeset: 5980:54d0080769f9
implemented the mechanism in the 2.0.0 release.
changeset: 6546:c58c7cd31243
implements the settings for javascript and css files.
closing.
|
msg7412 |
Author: [hidden] (rouilj) |
Date: 2021-12-09 22:47 |
|
Also as a note this implements Cache-Control with max-age settings. It does not
implement the Expires header.
|
|
Date |
User |
Action |
Args |
2021-12-09 22:47:22 | rouilj | set | messages:
+ msg7412 |
2021-12-09 22:39:07 | rouilj | set | status: new -> fixed assignee: rouilj resolution: fixed messages:
+ msg7411 |
2018-08-11 02:26:05 | rouilj | create | |
|