Skip to content

Commit

Permalink
svg serving addressed for webfonts on ipad
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed May 29, 2010
1 parent 2ba77f6 commit 9c1fbb3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
</FilesMatch>


# Proper svg serving. Required for svg webfonts on iPad
# http://twitter.com/FontSquirrel/status/14855840545
AddType image/svg+xml svg svgz



# allow concatenation from within specific js and css files
Expand All @@ -41,13 +45,15 @@

# gzip compression.
<Location />
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript text/javascript application/javascript application/json
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript text/javascript application/javascript application/json
</Location>
<FilesMatch "\.(ttf|otf|woff|eot|svg)$" >
# html, xml, css, and js above. webfonts and svg below.
<FilesMatch "\.(ttf|otf|woff|eot|svg|svgz)$" >
SetOutputFilter DEFLATE
</FilesMatch>



# eTags
<Location />
#can this be moved outside of the Location block? i'm not sure..
Expand Down

0 comments on commit 9c1fbb3

Please sign in to comment.