Commit 1a29f2ac authored by Francois Marier's avatar Francois Marier

htaccess: remove incomplete performance tuning settings

These settings are insufficient for a real production site and
only work on Apache.

Given they could interfere with a well configured webserver, let's
remove them until we come up with a more complete solution.
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent 9c741211
......@@ -19,13 +19,6 @@ php_value post_max_size 50M
deny from all
</Files>
# HTTP performance. This stuff tested in apache2 only.
# Enable mod_expires, mod_headers and mod_deflate!
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css application/x-javascript
</IfModule>
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
......
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 week"
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 week"
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 3 days"
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 week"
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 3 days"
</IfModule>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment