Issues with gzip compression and ETag and Vary Headers

#1
Hello all,

I am on a shared hosting account and need assistance.

The following RedBot header test screenshots show my concerns.

The first screenshot shows content delivered without any compression. No errors reported...all is good.

http://karmd.com/no_gzip_no_errors.png

The next screenshot with gzip enabled shows the errors I am concerned with. The vary and Etags response headers don't match for the compressed document.

http://karmd.com/gzip_errors.png

The next one, I tried adding a vary header and it eliminated the vary error but included a 2nd vary response header. According to HTPP documentation
there should not be duplicate header items. I tried "append" and "set" on the htaccess line for the vary header with the same results.

http://karmd.com/added_vary_header_double_entry.png

Furthermore, is there a way to unset the Etag header?

How do I fix these errors?

Thanks in advance,

Tony
 
Last edited:
#4
The fullsize images are at (no links until 5 posts):

karmd.com/no_gzip_no_errors.png

karmd.com/gzip_errors.png

karmd.com/added_vary_header_double_entry.png
 

mistwang

LiteSpeed Staff
#7
I do not think we will do anything to those "errors", to just make RedBot happy. Nothing is break.
You have to take it as is or use other web server if it bothers you.
 
#8
Doubling up on Vary headers is not the right way to do things.

Removing the ETag response header is recommended by Google and Yahoo, apparently LS can't do that.

Good luck with your sub-par support forum and server software.
 
Top