Varnish in Five Acts
dev.theladders.com
dev.theladders.com
But yeah, it just got a bit painful after a while.
The Python plugin works reasonably well for plain VCL syntax highlighting.
Here is the default:
sub vcl_hash { hash_data(req.url); if (req.http.host) { hash_data(req.http.host); } else { hash_data(server.ip); } return (hash); }
example.com/foo
and
another.com/foo
without a cache collision.
we don't care about the host as everything is of the same entity service type.
Do you have just 1 varnish instance or two?
I never did fully solve the ban propagation problem when running multiple redundant varnish instances.
That's my read on it, anyway. It always gets dicey interpreting the intent of others :)
thanks.