junk after gzip encoding

georgi.int at gmail.com georgi.int at gmail.com
Fri Feb 5 15:28:47 CET 2016

If I put in .htaccess of the site the following line unsetting the 
encoding everything is ok, but why this happens as in default.vcl the 
encodings are set correctly:

#this in htaccess solve the problem
RequestHeader unset Accept-Encoding

#This is my default.vcl configuration
if (req.http.Accept-Encoding) {
     if (req.http.Accept-Encoding ~ "gzip") {
       set req.http.Accept-Encoding = "gzip";
     else if (req.http.Accept-Encoding ~ "deflate") {
       set req.http.Accept-Encoding = "deflate";
     else {
       unset req.http.Accept-Encoding;

This happens installing wordpress plugins and themes.

On 01/26/2016 12:24 PM, georgi.int at gmail.com wrote:
> Hello,
> Can you please tell me how can I fix this error from the varnishlog 
> and whyt it's caused, because everything I read in the net couldn't 
> help me. Sometimes on some websites the most pages works fine, but 
> only certain css files give 503 with this error.
> Thank you in advance.

More information about the varnish-misc mailing list