Ticket #4022 (new defect)
Provide Etag and/or Last-Modified HTTP headers to ease cache control
| Reported by: | Giuseppe Bilotta <giuseppe.bilotta@…> | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11-retriage |
| Component: | wiki system | Version: | 0.10 |
| Severity: | normal | Keywords: | verify |
| Cc: | giuseppe.bilotta@…, betatim+trac@…, brad@…, rick@…, vslavik@… |
Description
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).


