2 Comments

  1. Hi I am using this gzip,

    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file .(html?|txt|css|js|php)$
    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.*

    what is the difference with the one you are showing on you blog?

    Regards,

    Richard.

    1. Hi Richard,

      Your method uses the mod_gzip module.

      The method in this post uses the mod_deflate module. The method in this post explicitly exclude files by MIME types only.

      Both methods should be okay if they works well. For the compression rate, both methods, generate roughly the same one (mod_gzip is slightly better).

Leave a Reply

Your email address will not be published. Required fields are marked *