Which files or mime-types to include/exclude for gzip compression?
I am developing a small Umbraco site that will run on a shared hosting environment. I want to enable gzip compression for my HTTP responses, and I need to configure this using a .htaccess file.
The hosting provider has provided the following code snippet for enabling gzip compression.
However, this breaks the site: the browser shows a default error message (ERRCONTENTDECODING_FAILED), suggesting that the response could not be decoded.
I assume this can be fixed by changing which files or mime types are compressed and which are not.
Can anyone point me in the right direction? What files or mime types do I need to include or exclude for Umbraco to work properly?
Which files or mime-types to include/exclude for gzip compression?
I am developing a small Umbraco site that will run on a shared hosting environment. I want to enable gzip compression for my HTTP responses, and I need to configure this using a
.htaccess
file.The hosting provider has provided the following code snippet for enabling gzip compression.
However, this breaks the site: the browser shows a default error message (ERRCONTENTDECODING_FAILED), suggesting that the response could not be decoded.
I assume this can be fixed by changing which files or mime types are compressed and which are not.
Can anyone point me in the right direction? What files or mime types do I need to include or exclude for Umbraco to work properly?
is working on a reply...