Category Archives: Tutorial

Apache & SVGZ

If you’re using Apache and want to use svgz files in your site, add this to your con­fig­ur­a­tion .htac­cess file:

AddType "image/svg+xml" .svgz
AddEncoding gzip .svgz

This firstly sets the content-type and secondly instructs the browser to unzip it once it’s downloaded.