[metrics-bugs] #26131 [Metrics/Consensus Health]: Add an Expires header to consensus-health

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 18 21:51:31 UTC 2018


#26131: Add an Expires header to consensus-health
------------------------------------------+-----------------
     Reporter:  teor                      |      Owner:  tom
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Metrics/Consensus Health  |    Version:
     Severity:  Normal                    |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+-----------------
 Sometimes I get really stale (9 hours old) cached consensus-health pages.
 This happens because the page doesn't say when it expires, or what it's
 maximum age is. So my browser guesses that it can be cached for multiple
 hours.

 Please add an "Expires" header to consensus-health, set to a few minutes
 after the scheduled time of the next job.
 We could also add a max-age of slightly more than an hour.

 Here is the relevant HTTP spec:
 https://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.2.4

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26131>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the metrics-bugs mailing list