2011-02-24 22:21:12 +03:00
|
|
|
# Neither Firefox nor Safari will draw these if they're text/xml
|
|
|
|
AddType image/svg+xml .svg
|
2011-09-07 00:32:03 +04:00
|
|
|
AddType application/octet-stream .exe
|
2018-06-19 00:46:02 +03:00
|
|
|
AddType application/font-woff .woff
|
|
|
|
AddType application/font-woff2 .woff2
|
|
|
|
AddType application/vnd.ms-fontobject .eot
|
|
|
|
AddType application/octet-stream .ttf
|
2011-02-24 22:21:12 +03:00
|
|
|
|
2011-10-28 20:05:29 +04:00
|
|
|
AddCharset utf-8 .css .js
|
|
|
|
|
2010-11-29 19:46:24 +03:00
|
|
|
# Set far-future Expires headers for static media
|
|
|
|
ExpiresActive on
|
|
|
|
|
|
|
|
ExpiresDefault "access plus 1 week"
|
|
|
|
ExpiresByType text/css "access plus 1 year"
|
|
|
|
ExpiresByType text/javascript "access plus 1 year"
|
|
|
|
ExpiresByType image/png "access plus 1 month"
|
|
|
|
ExpiresByType image/jpeg "access plus 1 month"
|
|
|
|
ExpiresByType image/gif "access plus 1 month"
|
2011-02-24 22:21:12 +03:00
|
|
|
ExpiresByType image/svg+xml "access plus 1 month"
|
2010-11-29 19:46:24 +03:00
|
|
|
ExpiresByType image/vnd.microsoft.icon "access plus 1 month"
|
|
|
|
ExpiresByType video/webm "access plus 1 week"
|
|
|
|
ExpiresByType video/ogg "access plus 1 week"
|
|
|
|
ExpiresByType video/x-flv "access plus 1 week"
|
|
|
|
ExpiresByType application/x-shockwave-flash "access plus 1 week"
|
2011-08-30 02:24:50 +04:00
|
|
|
ExpiresByType text/plain "access plus 0 seconds"
|
2011-09-07 00:32:03 +04:00
|
|
|
ExpiresByType application/octet-stream "access plus 0 seconds"
|
2010-11-29 19:46:24 +03:00
|
|
|
|
|
|
|
FileETag MTime
|
2011-08-30 02:24:50 +04:00
|
|
|
|
|
|
|
<FilesMatch "\.txt$">
|
|
|
|
FileETag None
|
|
|
|
</FilesMatch>
|
2013-06-11 04:11:11 +04:00
|
|
|
|
|
|
|
<FilesMatch ".(jpeg|png|jpg|gif)$">
|
|
|
|
Header set Access-Control-Allow-Origin "*"
|
|
|
|
</FilesMatch>
|