HomePhabricator

VCL: emit X-Cache-Status response header

Authored by BBlack on Aug 8 2016, 5:18 PM.

Description

VCL: emit X-Cache-Status response header

This header has one of 5 simple values:
hit - cache hit
miss - cache miss on supposedly-cacheable object
pass - traffic was un-cacheable according to applayer

(includes e.g. logged-in wiki page traffic, some API requests)

int - "internal" response - varnish generated the content

(typically beacons and error pages)

bug - some kind of error happened in determining status

Bug: T142410
Change-Id: I770e1c3762b4c587e3f2fb7ebec3cf96e2f05602

Details