We've recently experienced slowdowns serving web pages, and here's something we've found:
Apparently, when traffic passes through the WAF, the WAF strips out the following line: Content-Encoding: gzip. We serve pages compressed with GZIP, but, from what we can see, the WAF strips that compression, severely slowing down the page delivery. Does this make sense to anyone, and is there a way to remediate this issue?
F5 Silverline inserts a Via header in all HTTP requests sent to back-end web servers.
Please consult your server documentation for details.
appcmd set config -section:system.webServer/httpCompression /noCompressionForHttp10:"False" /noCompressionForProxies:"False" /commit:apphost
Syntax: gzip_proxied off | expired | no-cache | no-store | private | no_last_modified | no_etag |auth | any ...;
Context: http, server, location