Added some basic pagespeed settings
Added some basic pagespeed settings to the htaccesspull/394/head
parent
479f2119f6
commit
b0add8c210
19
.htaccess
19
.htaccess
|
@ -1 +1,20 @@
|
|||
Options -Indexes
|
||||
|
||||
<IfModule mod_expires.c>
|
||||
<FilesMatch "\.(js|jpg|jpeg|gif|png|css)$">
|
||||
ExpiresActive on
|
||||
ExpiresDefault "access plus 1 month"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE text/plain
|
||||
AddOutputFilterByType DEFLATE text/html
|
||||
AddOutputFilterByType DEFLATE text/xml
|
||||
AddOutputFilterByType DEFLATE text/css
|
||||
AddOutputFilterByType DEFLATE application/xml
|
||||
AddOutputFilterByType DEFLATE application/xhtml+xml
|
||||
AddOutputFilterByType DEFLATE application/rss+xml
|
||||
AddOutputFilterByType DEFLATE application/javascript
|
||||
AddOutputFilterByType DEFLATE application/x-javascript
|
||||
</IfModule>
|
||||
|
|
Loading…
Reference in New Issue