Ticket #2292 (closed enhancement: fixed)

Opened 13 months ago

Last modified 10 months ago

make logs provided by webstatus HTTP-cacheable

Reported by: brendan Owned by:
Priority: minor Milestone: 0.8.7
Version: 0.8.5 Keywords: web
Cc:

Description

The log files provided by webstatus (e.g., stdio) should be sent with cache headers. They are static content once the buildstep that owns them has completed.

My motivation is that I produce some parsed build stats as log files which I consume with AJAX requests, and I'd like to avoid the overhead of refetching them all the time whenever the AJAX report page is reloaded.

Change History

comment:1 Changed 13 months ago by dustin

  • Type changed from defect to enhancement
  • Milestone changed from undecided to 0.8.7

This sounds like it would be a pretty simple patch - do you want to create that?

comment:2 Changed 10 months ago by Marius Rieder

  • Status changed from new to closed
  • Resolution set to fixed

Set Cache-Controll header for log files in WebStatus?. (Fix #2292)

Changeset: de0ed4240abf4be3c147de5016bbd8775a217d2b

comment:3 Changed 10 months ago by Marius Rieder

Set Cache-Controll header for log files in WebStatus?. (Fix #2292)

Changeset: de0ed4240abf4be3c147de5016bbd8775a217d2b

Note: See TracTickets for help on using tickets.