Britney results are not cache-controlled

Bug #1534412 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bileto
Fix Released
Undecided
Unassigned

Bug Description

The excuses pages as linked from bileto, e.g.:

https://requests.ci-train.ubuntu.com/static/britney/xenial/landing-019/excuses.html
https://requests.ci-train.ubuntu.com/static/britney/vivid/landing-019/excuses.html

Seem to be missing some cache-control properties, as I had to manually refresh them to get new results after having clicked the links.

Revision history for this message
Robert Bruce Park (robru) wrote :

The problem is that they are cache controlled ;-)

By default flask is doing this:

Cache-Control: public, max-age=43200

Which is too high for excuses files as they change on a roughly half-hour basis, but that cache control field tells your browser to keep the files for 12 hours. I'll drop it down to half an hour and that should pretty much take care of this.

Changed in bileto:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.