Forum Discussion
HTTP Compression JSON Issue
Running 11.6.1, configured http and compression profile on a VIP. I'm seeing CSS and Other data "Content Type Compression".
Response headers are showing content-type = application/json, text/javascript, text/css
Any reason why Content Type Compression does not show any data under "JS".
Here are my content list:
application/(xml|x-javascript|javascript|json|css) application/json text/(x-javascript|javascript|css)
Dev says json is not being compressed? Does "Other" include json compression?
I also have a irule to log compression and I show "executions" and no aborts or failures.
- BinaryCanary_19Historic F5 Account
could you share what's in the Include list and what's in the exclude list?
- Mister_CNimbostratus
Content List: Include application/json application/(xml|x-javascript|javascript|json|css) text/(javascript)
Exclude List is NULL
- BinaryCanary_19Historic F5 Account
since your include list includes the content type being set by the server, then you need to ensure that the URI is not somehow excluded (since you can specify both content type and URL criteria).
if anything matches the exclude list, it is not compressed, so you need to make sure your lists are mutually exclusive.
- Mister_CNimbostratus
So the problem is with IE. Chrome works fine with application. IE will NOT perform any compression all together. I have enabled "browser workaround" and IE craps out.
What am I missing here?
- BinaryCanary_19Historic F5 Account
Compression also depends on the headers that the client send. I believe it's the Accept-Encoding header.
What do the request headers from IE look like? What version of IE? Does it support Gzip?
- Mister_CNimbostratus
Issue was IE due to a non-supported IE version running on WIN7. Looking to validate against WIN10 client(s).
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