A free, self-hostable news aggregator…
Fix: Compressed & Cached JS files (#4075)
maTh46cb8644c4d7
diff --git a/p/.htaccess b/p/.htaccessindex 55264a4f4..f2f2ad901 100644--- a/p/.htaccess+++ b/p/.htaccess@@ -6,6 +6,7 @@ FileETag NoneAddDefaultCharset UTF-8<IfModule mod_mime.c>+ AddType application/javascript .jsAddType application/json .mapAddCharset UTF-8 .html@@ -13,18 +14,18 @@ AddDefaultCharset UTF-8</IfModule><IfModule mod_deflate.c>- AddOutputFilterByType DEFLATE application/javascript application/json application/xhtml+xml image/svg+xml text/css text/html text/javascript+ AddOutputFilterByType DEFLATE application/javascript application/json application/xhtml+xml image/svg+xml text/css text/html</IfModule><IfModule mod_expires.c>ExpiresActive on+ ExpiresDefault "access plus 1 month"ExpiresByType application/font-woff "access plus 1 month"ExpiresByType application/font-woff2 "access plus 1 month"ExpiresByType application/javascript "access plus 1 month"ExpiresByType application/xhtml+xml "access plus 1 month"ExpiresByType image/x-icon "access plus 1 month"ExpiresByType text/html "access plus 1 month"- ExpiresByType text/javascript "access plus 1 month"<FilesMatch "\.php$">ExpiresActive Off</FilesMatch>