I’m using the following code in my .htaccess to enable GZIP file compression. It seems to properly compress all files, except SVG. Has anyone experienced this before? Is there a solution i seem to be overlooking?
Hello, When you view an SVG file in CPanel the type of the image is
Normal SVG: image/x-generic
GZipped SVG: package/x-generic try adding these types.
if this does not work try
AddType image/svg+xml svg.gz Hope one of these helps.
Try both of these in your code and see if this works
I have just GZipped all my svg icons and I can’t seem to get any of them to display with any of the various settings or code I have tried.
Are your displaying properly? From Tao
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Other’ is closed to new topics and replies.