Can I gzip images or svg files?


#1

Can I gzip images or svg files, and will Fastly gzip these for me?


#2

You can dynamically gzip content based on file extension or content-type. Check out our article on how to enable automatic gzipping for more information.


#3

Note that there is no gain in compressing already compressed image types, like GIF, JPEG or WebP.

SVG, however, being completely text based, compresses very well!