1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Gzip compression

Discussion in 'White Hat SEO' started by charlesbrunkle, Jan 9, 2010.

  1. charlesbrunkle

    charlesbrunkle Registered Member

    Joined:
    Dec 11, 2009
    Messages:
    89
    Likes Received:
    25
    Hey,

    I was wondering if someone could tell me how to get this working? what do I need to do, etc.

    Thanks
     
  2. AdisLCS

    AdisLCS Power Member

    Joined:
    May 16, 2009
    Messages:
    520
    Likes Received:
    216
    it depends if you use WP its firly simple, before WP 2.5 you could simply doing from within setting in newer versions you'll need plug in . I use GZIP Output by Austin Matzko.

    there are also other options like simply adding code to your htaccess:

    # compress the files
    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
    # removes some bugs
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    Header append Vary User-Agent


    I do have to admit I am not expert on this topic. When I design my pages I always take load time into consideration so that speed is ussually not an issue.

    If you are still unsure you may want to :
    look at - betterexplained DOT com/articles/how-to-optimize-your-site-with-gzip-compression/

    or code.google DOT com/speed/

    or contact your webhost as each webhost might have their servers differently configured.

    good luck
     
  3. trophaeum

    trophaeum Senior Member

    Joined:
    Dec 21, 2007
    Messages:
    1,189
    Likes Received:
    706
    depends too much on the hosting, if they are cpanel based and are upto date, there is something about website optimize in the cpanel, just turn that on and your set