Provide Etag and/or Last-Modified HTTP headers to ease cache control
|Reported by:||Owned by:|
|Cc:||giuseppe.bilotta@…, betatim+trac@…, brad@…, rick@…, vslavik@…, mmitar@…||Branch:|
Trac serves pages without any Etag or Last-Modified header, which makes cache management rather troublesome, and increases the server load. This is particularly important for RSS feeds, which might be checked relatively often.
(In one of the comments for #663 it was mentioned that conditional GET was planned for 0.9, but one of Trac setups I'm checking on is based on 0.10 and the functionality seems to be missing.)
I think most pages could be served with a Last-Modified header containing the date of the last change (for wiki and ticket pages) or the date of the most recent thing changed (for RSS feeds).
Change History (12)
comment:4 by , 14 years ago
|Component:||general → wiki|
|Type:||enhancement → defect|
comment:9 by , 10 years ago
|Keywords:||cachecontrol added; verify removed|
|Milestone:||next-minor-0.12.x → next-major-0.1X|