Services

Compress svg files (font awesome)

By July 4, 2014No Comments

To compress fontawesome and more generally any svg files simply add the following two lines to the top of your .htaccess file in your root directory.

 

AddType image/svg+xml .svg
AddOutputFilterByType DEFLATE image/svg+xml

Caleb O'Loan

Author Caleb O'Loan

More posts by Caleb O'Loan
Call Now Button