My bad, you don't need std.log at all (sorry, I was distracted) It boils down to:
sub vcl_hit {
set req.http.x-state = "HIT";
}
sub vcl_miss {
set req.http.x-state = "MISS";
}
sub vcl_pass {
set req.http.x-state = "PASS";
}
And getting that x-state header in varnishncsa.
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
