Make Wordpress quicker.
Posted on March 15, 2007 by Chris @ 9:39 pm

wp-cache with gzip compression without hacking:

One of the things I find annoying with wp-cache is that it’s not gzipped so the user experience of wordpress is helped by quicker first byte content delivery with almost zero overhead but hindered by slower page completion times.

Adding this line to “.htaccess” compresses all php output

php_value output_handler "ob_gzhandler"

I’m fairly sure that this is an acceptable compromise during any possible digg effect if you have to pay for your bandwidth as the overhead of the gzip handler is compensated by the connection getting off the wire 6.8 times faster on this homepage for example.

Its certainly a benefit during normal usage!

UPDATE:
Adding this below the above tip allows you to control the compression level.
php_value zlib.output_compression_level 1

The difference between level 1 (fastest) and level 9 (slowest/best) is not worth the overhead on this site giving only a 2% difference in size.

/* */
Filed under: ~/
Comments:
This is a j.u.n.k.m.a.i.l. t.r.a.p. - please ignore. From bawg twap blogsnow.com Technorati Profile

3 Comments »

  1. [...] blog.iloaf.com » Make Wordpress quicker. (tags: wordpress compression) [...]

    Pingback by www.illallangi.com » links for 2007-05-08 — May 8, 2007 @ 12:53 am

  2. [...] using Clean CSS caught my eye as well as a comment by Chris from Reflective Reality V2.0 on how to make WordPress quicker by adding a single line to my .htaccess file. I did the .htaccess thing. I wonder if my blog is any [...]

    Pingback by I Feel The Need For Speed! Take Two - Untwisted Vortex — August 12, 2007 @ 6:43 am

  3. I’ve checked in code that checks for zlib.output_compression in the super cache. If it’s enabled the WP-cache data files won’t be compressed.

    Comment by Donncha O Caoimh — November 6, 2007 @ 10:00 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)



cd /pub; more beer; play music; more crap_news

Main Menu
Home
  • Hardware Feed for all posts filed under Hardware
  • Knee Jerk Feed for all posts filed under Knee Jerk
  • News Feed for all posts filed under News
  • PhotoBlog Feed for all posts filed under PhotoBlog
  • Spam Feed for all posts filed under Spam
  • ~/ Feed for all posts filed under ~/

  • Search


    Syndication
    RSS 2.0
    Comments RSS 2.0
    Add to Google

    Copyright
    All content © 2004-2008 blog.iloaf.com

    Archives
    July 2008
    June 2008
    May 2008
    April 2008
    January 2008
    December 2007
    November 2007
    September 2007
    August 2007
    July 2007
    June 2007
    May 2007
    April 2007
    March 2007
    February 2007
    January 2007
    December 2006
    November 2006
    October 2006
    September 2006
    July 2006
    April 2006
    March 2006
    January 2006
    November 2005
    September 2005
    August 2005
    July 2005
    May 2005
    April 2005
    March 2005
    February 2005

    del.icio.us stuff
  • Data transfer rate calculator Megabits Gigabits per second Megabytes per minute units - sengpielaudio
  • Rip DVD's with VLC
  • remiq.net : (cat), (confidence), (disaster), (eagle), (lol), (motivator), (photo), (photoshop), (text)
  • Dear Mom or Dad | Found, Funny Notes, Sex Humor
  • dear mom.jpg (JPEG Image, 600x343 pixels)
  • Rich Wolski, "EUCALYPTUS - Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems" - Velocity Conference on blip


  • µblog

    • Sneaky beer with Mr Outlaw before dinners cooked ;) - 2 hours ago
    • Getting dinner ready and catching up on time-shifted TV whilst the outlaws are on a road trip. Wife is having too much fun on the loaner R6! - 5 hours ago
    • Gotta love gif status bars : link ;) - 8 hours ago
    • @Scobleizer The twitter population desperately(?) want twitter to succeed. Community spirit is a powerful thing ;) SMS & ~IM is cool too. - 9 hours ago
    • @Scobleizer I bet Richter & co are already on the case ;) - 13 hours ago
    • Ferret racing was a hoot... I was so good at picking the looser!!! - 22 hours ago



    Recent Entries
    Firefox 3 - Is it really quicker?
    Ubuntu update improves network performance
    Mailchannels TrafficControl update
    UK doctors ripping off the ill
    Coolest advert of the spring
    Mailchannels first impressions & its feedback loop
    Wogan to quit over eurovision voting?
    MailChannels "free beer" edition
    Nine Inch Nails 100% free and DRM free album
    Bad blogger
    cottages4you (aka VRG) suck
    Stupid "Security" Questions. Get a clue Insurance companies.
    Bloody Banks! Phone line quality is worth paying for.
    Stop Motion Haircut
    eBay, Paypal and their SPF own goal!