Tag Info

Hot answers tagged

2

Rather than turning it off site-wide, why not have the developers make requests that don't request compression? If the Accept-Encoding header isn't set in the request, the server shouldn't be sending back compressed data.


1

In your case, I think your best shot would be the command varnishadm vcl.show boot (replace boot by active configuration's name, see varnishadm vcl.list output).


1

I would like to propose an alternative... please find below a sample default.vcl file vcl 4.0; import std; backend default { .host = "127.0.0.1"; .port = "8080"; } sub vcl_backend_response { if (beresp.status == 503 && bereq.retries < 5 ) { return(retry); } } sub vcl_backend_error { if (beresp.status == 503 ...



Only top voted, non community-wiki answers of a minimum length are eligible