Skip to content

deizel/varnish-inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published