Forum Discussion
What is the best HTTP Compression profile settings?
You really won't notice a difference. I've been using 6 for years on high volume sites with no issues.
A few other notes from me;
-
Deflate (based on zlib) is preferable to gzip as gzip uses the deflate algorithm anyway but is generally slower due to its use of larger headers and trailers and a slower integrity check (aka checksum) compared to zlib used alone
-
Set the Chunking setting in the HTTP Profile to selective as this only rechunks data if the response payload has been modified (which should only happen if compression has taken place) and if the server response was itself chunked. Responses that the server did not chunk will have the value of their Content Length HTTP header rewritten accordingly.
-
I use these content types;
application/(xml|x-javascript)
text/
image/svg+xml
application/x-www-form-urlencoded
application/http
application/pdf Most people say don't but I find there's still a benefit
application/json
application/msword
application/vnd.ms-excel
application/vnd.ms-powerpoint
application/vnd.ms-project
application/vnd.ms-xpsdocument
application/x-shockwave-flash
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com