Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#2292 closed enhancement (fixed)

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 (3)

comment:1 Changed 8 years ago by dustin

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

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

comment:2 Changed 7 years ago by Marius Rieder

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

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

Changeset: de0ed4240abf4be3c147de5016bbd8775a217d2b

comment:3 Changed 7 years 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.