We've served up over 500GB of yummy blog and forum goodness so far this month! (Plus another 100GB of anime video clips). That brings us up to and indeed past our previous peak in October/November.
This is great news, but as we continue our plot to take over the world expansion program, we will eventually run out of bandwidth. What a sad day that will be. :(
"How can I help?", I hear you cry.
This is how.
First, make sure that your blog is set up to generate PHP files. If not, check out the handy guide at... Where did the handy guide go? Who took the handy guide?
Anyway, assuming you are set up to generate PHP files, put this code at the top of your templates:
<?php ob_start("ob_gzhandler"); ?>And viola, your web pages will get magically shrunked.* This will make your pages load faster too.
This doesn't reduce things like images, but it can still make quite a dent in bandwidth, with minimal effort and with the benefit of faster response for your readers. So don't delay, <?php ob_start("ob_gzhandler"); ?> today!
* That's the technical term. For the non-technical, your web browser indicates in its request headers whether or not it supports Gzip-compressed pages; all current browsers do. This piece of PHP code checks that setting, and if possible, compresses your web pages before sending them out.
Posted by Pixy Misa at April 28, 2005 06:07 AMnow when you say "insert this code at the TOP"...where exactly at the top...?
Anywhere in the HEADER or....?
p.s. Hi everyone!
Posted by kyer at April 28, 2005 09:32 PMOkay, I put at at the top of every template, and lost all my lovely aqua background. So I took it off the stylesheet template. Is that ok?
Posted by Susie at April 29, 2005 02:19 AMOh--when I put it on the date-based archive, all my calendar date links led to The Resplendant Mango, so I took it off that one, too. Um, should I do the Miscellaneous Templates(comment, trackbacks, etc.), too?
Posted by Susie at April 29, 2005 02:30 AMYes, not on the stylesheet.
I have no idea what happened to your date-based archive. That's very strange.
Posted by Pixy Misa at April 29, 2005 05:07 AMYes, it WAS very strange--especially since it wasn't even a munu blog, but a bogsplot one! Maybe the raccoons have been chewing at the PVC pipe again...
Posted by Susie at April 29, 2005 06:44 AMCrap on a stick.
I've been setting up Nu Mus with the defaults. Didn't even think about changing this.
But the latest batch are coming out of the gate with phps flying.
Posted by Jim at April 29, 2005 02:04 PM