Can I gzip images or svg files?

Comments

2 comments

  • Gaylin Walli

    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.

  • Rogier Mulhuijzen

    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!

Please sign in to leave a comment.