The T-Files


Fri, 20 Feb 2004

Seiyo Kyujitsu Hakata Torimon

Quoth the cookie:

The spirit of OKASHI. It is what gives a peaceful and pleasant mind to the human race. All the time, man seeks romance in the OKASHI. We have been working hard and carefully, and work on. To weave the romance and the fancy into each OKASHI. This, at last, we have made up The HAKATA SEIYO-WAGASHI. If you taste the feeling and the spirit of the OKASHI which value tradition and living in the times, there is no pleasure better than it.

Saving bandwidth (Part One)

When you are running a web site, you have to pay for the network bandwidth that sending your pages to visitors consumes (of course, the T-Files are way too small for this to have any effect, so by all means do not let this consideration stop you from frequently visiting).

One way to cut down on bandwidth usage is to compress the pages before sending them out. The visitor's browser can then decompress the data before displaying it. All modern browsers support this method, but not all web sites make use of it, which is surprising because it can save real money for popular sites (it also reduces the page load time on slow connections). Sites that do make use of content compression include Google and Slashdot. One reason why it is not omnipresent could be that it is not set up by default in the popular Apache web server. You have to install the optional mod_gzip (Apache 1.x) or mod_deflate (Apache 2.x) module and configure it. You have to tell it, for example, what to compress and what not (it basically only works for text and does not make sense to try to compress images, which are already optimised in this regard).

So when you get the top pages of the T-Files (26546 bytes) and Weblog Japan (4044 bytes) I am actually sending you much less (9144 and 1570 bytes).