summaryrefslogtreecommitdiff
path: root/p/.htaccess
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-11 22:57:20 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-11 22:57:20 +0100
commit8dcc0fd65a36adedb12e5d54bafb39e7e553d38b (patch)
treebf47fd99928a6782a309cdd1171516029d4f9611 /p/.htaccess
parent919c9c83013ea310f01c309f00dea3f8afa9033e (diff)
parent8f4c61a4154641ac22e6d541b6994add3c4803cb (diff)
Merge pull request #1119 from FreshRSS/dev1.3.1-beta
Merge dev in 1.3.1-beta
Diffstat (limited to 'p/.htaccess')
-rw-r--r--p/.htaccess13
1 files changed, 1 insertions, 12 deletions
diff --git a/p/.htaccess b/p/.htaccess
index 2b1e27a88..4321c82d7 100644
--- a/p/.htaccess
+++ b/p/.htaccess
@@ -6,13 +6,8 @@ FileETag None
AddDefaultCharset UTF-8
<IfModule mod_mime.c>
- AddType application/json .map
- AddType application/font-woff .woff
-
- AddCharset UTF-8 .css
AddCharset UTF-8 .html
AddCharset UTF-8 .js
- AddCharset UTF-8 .svg
</IfModule>
<IfModule mod_deflate.c>
@@ -21,15 +16,9 @@ AddDefaultCharset UTF-8
<IfModule mod_expires.c>
ExpiresActive on
- ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
- ExpiresByType application/json "access plus 1 month"
ExpiresByType application/xhtml+xml "access plus 1 month"
- ExpiresByType image/gif "access plus 1 month"
- ExpiresByType image/png "access plus 1 month"
- ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
- ExpiresByType text/css "access plus 1 month"
ExpiresByType text/html "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
<FilesMatch "\.php$">
@@ -38,7 +27,7 @@ AddDefaultCharset UTF-8
</IfModule>
<IfModule mod_headers.c>
- <FilesMatch "\.(css|html|js|ico|gif|png|woff)$">
+ <FilesMatch "\.(css|gif|html|ico|js|png|svg|woff)$">
Header merge Cache-Control "public"
</FilesMatch>
</IfModule>