
james at ifixit
Jul 8, 2013, 3:20 PM
Post #2 of 2
(56 views)
Permalink
|
|
Re: varnishstat not reporting correct values
[In reply to]
|
|
Excerpts from Celene's message of 2013-07-06 12:22:15 -0700: > Hi, I have been using varnish to accelerate some of my sites. > > Interestingly enough, I added a rule in the VCL to show hits in the > header (below) > ------------- > if (obj.hits > 0) { > set resp.http.X-Cache = "HIT"; > } else { > set resp.http.X-Cache = "MISS"; > } > ------------- > > The headers show up as a hit in my browser, with a cleared cache. > > However, the stats in varnishstat never change, even if I put load on > varnish using loadimpact. > > Anyone have any idea where I should check first? Do *none* of the stats in varnishstat change, or just the hitrate? How about the other tools - varnishhist, varnishlog, etc.? - P _______________________________________________ varnish-misc mailing list varnish-misc [at] varnish-cache https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
|