Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 1.24 KB

README.md

File metadata and controls

33 lines (17 loc) · 1.24 KB

Varnish Inspector

A simple Google Chrome extension that shows if a page being served up via a Varnish web accelerator is fresh or not.

Screenshots

Currently this addon consists of a single toolbar button that changes state based on detected HTTP headers.

Default

The button icon appears gray/disabled when no special HTTP headers are detected.

Button when inactive

Varnish detected

The button icon becomes Varnish-blue when the HTTP header Via is detected containing the string "varnish":

Button when active

Cache miss

The button becomes red-ish in color when the HTTP header X-Cache is detected containing the string "MISS":

Button when cache miss

Cache hit

The button becomes green in color when the HTTP header X-Cache is detected containing the string "HIT":

Button when cache hit

The label text is updated to reflect the number of cache hits if the HTTP header X-Cache-Hits is present.