#1
  1. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Mar 2016
    Location
    Nottingham, UK
    Posts
    94
    Rep Power
    22

    Gzip Compression help


    I have tried the following in my htaccess file but compression hasn't worked:

    <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>

    and also:

    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript

    Is there anything I'm missing? Do I need to change a setting on the apache server?

    Thank you!
  2. #2
  3. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Mar 2016
    Location
    Nottingham, UK
    Posts
    94
    Rep Power
    22
    Sorry just wondered if anyone had an idea about this?

Similar Threads

  1. Gzip Compression
    By juikuen in forum New User SEO Questions and Answers
    Replies: 3
    Last Post: Aug 4th, 2016, 04:25 PM
  2. How could we convert a website code to the format of Deflat, Gzip and Scdh?
    By Rahul Khanna in forum Web Design, Coding and Programming
    Replies: 2
    Last Post: Dec 3rd, 2013, 10:55 AM
  3. How could we convert a website code to the format of Deflat, Gzip and Scdh?
    By Rahul Khanna in forum New User SEO Questions and Answers
    Replies: 0
    Last Post: Dec 3rd, 2013, 05:11 AM
  4. GZip XML Sitemap
    By Dr.Dave in forum Search Engine Optimization
    Replies: 1
    Last Post: May 12th, 2008, 03:13 PM
  5. GZip and Deflate - HTTP Compression can harm?
    By giorgoc in forum Google Optimization
    Replies: 1
    Last Post: Aug 11th, 2006, 06:55 PM

IMN logo majestic logo threadwatch logo seochat tools logo