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

How to Speed up your website & save bandwidth with a simple apache .htaccess change

Discussion in 'Blogging' started by kilaz, Sep 8, 2009.

  1. kilaz

    kilaz Jr. VIP Jr. VIP

    Joined:
    Aug 15, 2009
    Messages:
    943
    Likes Received:
    383
    Home Page:
     
    • Thanks Thanks x 9
    Last edited: Sep 8, 2009
  2. wozney

    wozney Registered Member

    Joined:
    Dec 31, 2007
    Messages:
    64
    Likes Received:
    7
    going to try this out and see if it works for my sites...thanks for the info appreciate it
     
  3. IamNomad

    IamNomad Junior Member

    Joined:
    Mar 27, 2009
    Messages:
    135
    Likes Received:
    22
    Location:
    ┌∩┐(◕_◕)┌∩┐
    Another good tweak thats powered by .htacess is to enable server side cacheing.

     
  4. GTP_Smile

    GTP_Smile Registered Member

    Joined:
    Jun 15, 2009
    Messages:
    85
    Likes Received:
    8
    Isn't there a plugin that does this?
    such as WP Super Cache ..would take care of it?
     
  5. kilaz

    kilaz Jr. VIP Jr. VIP

    Joined:
    Aug 15, 2009
    Messages:
    943
    Likes Received:
    383
    Home Page:
    Yes as far as setting up a cache but not with using the zlib stuff. I use WPSuperCache and the above methods I posted with my WP blogs. Between the two its really made them faster.

    -k-
     
  6. GTP_Smile

    GTP_Smile Registered Member

    Joined:
    Jun 15, 2009
    Messages:
    85
    Likes Received:
    8
    By any chance, do you know offhand of an app or browser extension that could measure load times? I could use it just as a comparison betw diff setups. This is a nice meth, thx given. Actually had a post about page loading a while back but no response.
     
    Last edited: Sep 8, 2009
  7. IamNomad

    IamNomad Junior Member

    Joined:
    Mar 27, 2009
    Messages:
    135
    Likes Received:
    22
    Location:
    ┌∩┐(◕_◕)┌∩┐
    actually, wpcache, wpsupercache does something completely different from my example .It doesn't touch .htaccess for server side caching. It uses do_cacheaction() and add_cacheaction() functions in php and takes is another way to implementing gzip. The originals poster uses apache which is less intensive php. Also, My example doesn't depend on php to determine cache. Both are better for large websites.

    http://websiteoptimization.com/services/analyze/

    gives detailed times and suggestions.
     
    Last edited: Sep 8, 2009
  8. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    905
    Likes Received:
    3,354
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
     
  9. IamNomad

    IamNomad Junior Member

    Joined:
    Mar 27, 2009
    Messages:
    135
    Likes Received:
    22
    Location:
    ┌∩┐(◕_◕)┌∩┐
     
  10. angelas111

    angelas111 Jr. VIP Jr. VIP

    Joined:
    Jan 4, 2009
    Messages:
    1,615
    Likes Received:
    1,037
    Location:
    ohio
    Cool, going to try this. I have several wordpress sites and some of them load slow as shit.
     
  11. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    905
    Likes Received:
    3,354
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    what about the "x" and that "?"...
     
  12. IamNomad

    IamNomad Junior Member

    Joined:
    Mar 27, 2009
    Messages:
    135
    Likes Received:
    22
    Location:
    ┌∩┐(◕_◕)┌∩┐
    I believe thats correct. it another way of saying do this when xhtml or html are the extension.