Page MenuHomePhabricator

Zuul status page is frozen, status.json is cached by misc Varnish
Closed, InvalidPublic

Description

I have upgraded Zuul to fix Bug 47609 - [upstream] Zuul: status.json API should be able to filter by change

Turns out the change has a regression which cause the misc varnish to cache page. Most probably because caching headers are missing.

Example:

curl --verbose 'https://integration.wikimedia.org/zuul/status.json' > /dev/null

< HTTP/1.1 200 OK

  • Server nginx/1.1.19 is not blacklisted

< Server: nginx/1.1.19
< Date: Thu, 30 Oct 2014 16:43:34 GMT
< Content-Type: application/json
< Content-Length: 57043
< Connection: keep-alive
< Vary: X-Forwarded-Proto
< Access-Control-Allow-Origin: *
< Last-Modified: Thu, 30 Oct 2014 16:43:26 GMT
< Accept-Ranges: bytes
< X-Varnish: 1581574803 1581574790
< Age: 7

^^^^^^

< Via: 1.1 varnish
< X-Cache: cp1044 hit (1)

^^^^^^^

Version: wmf-deployment
Severity: normal

Details

Reference
bz72766

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:50 AM
bzimport set Reference to bz72766.
bzimport added a subscriber: Unknown Object (MLST).

I was trying with curl but our web page uses a cache breaker so there is no need for Cache-Control headers in our setup :D