diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-10-17 23:11:50 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-10-17 23:11:50 +0200 |
commit | 63836d035b6d31d8e7888956acd2e895b7a2b4f4 (patch) | |
tree | 4c5c7bc8a826d87614af00901f3f789e7cb0e40c | |
parent | 63e0c81015a799665576098aaa36625c0850276c (diff) |
modernize mods snippet deflate to cover text/javascript
-rw-r--r-- | apache2/mods-available/deflate.conf | 2 | ||||
-rw-r--r-- | apache2/mods-available/deflate.conf.diff | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apache2/mods-available/deflate.conf b/apache2/mods-available/deflate.conf index 3c318d2..26a08f7 100644 --- a/apache2/mods-available/deflate.conf +++ b/apache2/mods-available/deflate.conf @@ -1,6 +1,6 @@ <IfModule mod_deflate.c> <IfModule mod_filter.c> - AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css + AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript AddOutputFilterByType DEFLATE application/json AddOutputFilterByType DEFLATE application/rss+xml diff --git a/apache2/mods-available/deflate.conf.diff b/apache2/mods-available/deflate.conf.diff index 45f5e9c..210b644 100644 --- a/apache2/mods-available/deflate.conf.diff +++ b/apache2/mods-available/deflate.conf.diff @@ -2,7 +2,7 @@ +++ deflate.conf @@ -2,7 +2,9 @@ <IfModule mod_filter.c> - AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css + AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript + AddOutputFilterByType DEFLATE application/json AddOutputFilterByType DEFLATE application/rss+xml |