configuration-templates
//apache/optimizations/compression/compression.conf |
@@ -8,7 +8,6 @@ |
|
# Force compression for mangled `Accept-Encoding` request headers |
# https://developer.yahoo.com/blogs/ydn/pushing-beyond-gzipping-25601.html |
|
<IfModule mod_setenvif.c> |
<IfModule mod_headers.c> |
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding |
@@ -16,8 +15,6 @@ |
</IfModule> |
</IfModule> |
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
# Compress all output labeled with one of the following media types. |
# |
# (!) For Apache versions below version 2.3.7 you don't need to |
@@ -26,7 +23,6 @@ |
# the core directives. |
# |
# https://httpd.apache.org/docs/current/mod/mod_filter.html#addoutputfilterbytype |
|
<IfModule mod_filter.c> |
AddOutputFilterByType DEFLATE "application/atom+xml" \ |
"application/javascript" \ |
@@ -75,7 +71,6 @@ |
# content. |
# |
# https://httpd.apache.org/docs/current/mod/mod_mime.html#addencoding |
|
<IfModule mod_mime.c> |
AddEncoding gzip svgz |
</IfModule> |