[tor-bugs] #26132 [Metrics/Relay Search]: Fix the Expires header on relay search

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 26 10:24:09 UTC 2018


#26132: Fix the Expires header on relay search
----------------------------------+------------------------------
 Reporter:  teor                  |          Owner:  metrics-team
     Type:  defect                |         Status:  new
 Priority:  Medium                |      Milestone:
Component:  Metrics/Relay Search  |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
 Reviewer:                        |        Sponsor:
----------------------------------+------------------------------

Comment (by irl):

 Data on relay search comes from Onionoo, which uses the `Cache-Control:
 max-age=` directive to instruct caches that data is stale after 15
 minutes.

 The `rs.html` page only changes when I make changes to it, it's not
 dynamically generated. I do see the `Expires:` header though and from some
 quick reading this appears to be added by Jetty and is not something we've
 done deliberately.

 What browser is it you're using? Maybe it has broken caching. I'm
 attempting to reproduce in Firefox just now.

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


More information about the tor-bugs mailing list