Skip to content

A browser extension to show if a request was served from the cache.

License

Notifications You must be signed in to change notification settings

VED-StuartMorris/varnish-indicator-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Varnish Indicator Browser Extension

This is a Browser Extension to quickly reference if a page was served from Varnish Cache.

The extension has the following states:

Varnish could not be found.

Varnish is present.

Cache hit.

Cache miss.

Headers

The extension will look for the x-varnish-cache or x-varnish headers. If found, it marks Varnish as present.

If x-varnish-cache is hit, it marks Varnish as hit.

If x-varnish-cache is miss, it marks Varnish as miss.

If x-varnish-cache can't be found, it will inspect x-varnish. If it has two ids (i.e. 273036 732728), it marks Varnish as hit. If it has only one id (i.e. 273036), it marks Varnish as miss.

About

A browser extension to show if a request was served from the cache.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%