Deflate is not working for HTML-Files and JS/CSS with GETs

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 4
Joined: 02 Mar 2015, 15:20

Deflate is not working for HTML-Files and JS/CSS with GETs

03 Mar 2015, 07:37

Hi there

We have some issues with deflate compression on our website. A lot if files will be compressed but four files will not. It seems the following files are actually not compressed:
HTML-File
JS-Files with GET-Paramters
CSS-Files with GET-Paramters

JS- and CSS-Files without GET-Parameters are zipped well.

Our Website:
https://www.bratschi-law.ch/en

Our htaccess:
# ------------------------------------------------------------------------------
# | Compression |
# ------------------------------------------------------------------------------
<IfModule mod_deflate.c>
<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
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE application/atom+xml application/javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/css text/html text/plain text/x-component text/xml
</IfModule>
</IfModule>

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Deflate is not working for HTML-Files and JS/CSS with GE

06 Mar 2015, 10:45

Hello,

It might not be the answer you were looking for, but generally mod_deflate is not needed on IIS7 and higher as standard IIS Compression module copes with that perfectly well.

Unfortunately, the developer who created this module is no longer working with us, so it would be a little troublesome to identify the reason for your issue. Moreover, questions about this module are very rare, so I cannot refer to previous experience.

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 23 guests