Forum Discussion
tmsh syntax to add json to compression profile
I made a little headway but might have messed up my existing profile. I used the following syntax:
tmsh modify ltm profile http-compression Http_compression-compression c ontent-type-include add { text/ "application/(xml|x-javascript)" application/json text/.* .\.css .\.js .\. png .\.htc }
Now my profile looks like this:
ltm profile http-compression Http_compression-compression { app-service none content-type-exclude { .\.pdf .\.gif .\.bmp oriongeocodemanager.asmx .\.jpg } content-type-include { text/ "application/(xml|x-javascript)" text/. .\.css .\.js .\.png .*\.htc "(\?glob)application/(xml" | "(\?glob)x-javascript)" application/json ..css ..js ..png ..htc } defaults-from httpcompression
I don't know what "(\?glob)application/(xml" | "(\?glob)x-javascript)" means.
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