Varnish cheat sheet

Intro

How to see caching stats etc.

Varnish

  • show hitratio rate

    varnishstat

    Hitrate ratio: 10 100 1000 Hitrate avg: 0.3373 0.3012 0.3400

This Means the last 10 seconds we have a hitrate of 33.73% and the last 100 seconds only 30.12%

  • show urls missed

    varnishlog -m "VCL_call:miss" | grep --line-buffered "RxURL"

work in progress, because it's my cheat sheet

Richard

Previous Post Next Post