• Hello!
    I have a problem. My website loads quite slow, and that’s why I want to have Gzip-compressing. But my web host has disable mod deflate but Gzip is enabled.

    So, is there anyway to have Gzip compressing without mod deflate? 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • try adding this to your .htaccess file

    <ifModule mod_gzip.c>
    	mod_gzip_on Yes
    	mod_gzip_dechunk Yes
    	mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
    	mod_gzip_item_include handler ^cgi-script$
    	mod_gzip_item_include mime ^text/.*
    	mod_gzip_item_include mime ^application/x-javascript.*
    	mod_gzip_item_exclude mime ^image/.*
    	mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    </ifModule>

    Then check your website here to see if it worked: http://www.whatsmyip.org/http-compression-test/

    Thread Starter Jakob96

    (@jakob96)

    Thank you! It worked, but I don’t notice any big difference.

    It should tell you on that page how much the file size is reduced. Some things compress more than others. It could also be the server itself and things outside your control that your webhost handles.

    Test your site here and it will give you advice on how to make it faster: http://tools.pingdom.com/fpt/

    Click on “Performance Grade” and the arrows on the right side will expand the different tests and show you how to better optimize your site

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gzip compressing without mod deflate?’ is closed to new replies.