Forum Discussion
David_Michael_1
Nimbostratus
Nov 07, 2014SVG files not being compressed
I am attempting to enable http compression for svg images. I have added the content-type image/svg+xml to the compression content-list but when I do a curl command with -H 'Accept-Encoding: gzip,defl...
George_Efimoff_
Nimbostratus
Mar 21, 2017Finally, with F5's help, made it work. It looks like + sign, even quoted, complicates the things. So, working content entry, in the end, was image/svg and noting else with svg in the list. In my case:
content-type-exclude { image/gif image/jpeg image/png } content-type-include { text/ "application/(xml|x-javascript|javascript)" image/svg font/woff2 image/ }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects