April 28, 2005

Half A Terabyte Of Bloggy Goodness

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 You Can Help

"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 AM
Comments
#1

Sweet, I just did that and it works pretty nicely!

Posted by Eric at April 28, 2005 07:22 AM
#2

Where did the handy guide go?

Posted by Gir at April 28, 2005 01:09 PM
#3

I don't know. Maybe there wasn't one...

Posted by Pixy Misa at April 28, 2005 02:23 PM
#4

now when you say "insert this code at the TOP"...where exactly at the top...?

Anywhere in the HEADER or....? :)

p.s. Hi everyone! :D

Posted by kyer at April 28, 2005 09:32 PM
#5

It should be the very first line.

P.S. Hi! :)

Posted by Pixy Misa at April 28, 2005 11:09 PM
#6

Okay, 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 AM
#7

Oh--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 AM
#8

Yes, 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 AM
#9

Yes, 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 AM
#10

Crap 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
#11

fixed. Thanks for the clarification!

Posted by caltechgirl at April 29, 2005 03:07 PM
Live Comment Preview
Post a comment









Remember personal info?