• Join Us |
  • |
  • Sign in with:

ShackCompression Test

by Maarten Goldstein, Nov 25, 2000 11:34am PST

Got a new feature for all the dialup users to play with this afternoon (although people on fast connections are welcome to test too), ShackCompression. Using the zlib function of PHP 4.0.1 and a feature of HTTP 1.1, we should soon be able to offer the frontpage compressed. No, you don't have to do anything yourself, it should all be transparent. HTTP 1.1 should be supported by all new IE versions, from last year and up, on Windows at least. I heard HTTP 1.1 is not supported on the Mac. Netscape 4.7 doesn't appear to work, however Netscape 6 does. Both Windows again. I'm interested to know about Linux support. To test, go to this page and at the bottom it should say something like this

Not compress length: 58101
Compressed length: 13532
You might say, woah that's a good difference, why won't it help us cable/dsl/t1/etc guys? Most likely the response time is a little higher because the server has to zip up the page. So it could be that instead of you already getting it instantly, it might actually be a little slower. There is one other group for whom it might not work any better, the people using slow computers. While most people probably have pimped out machines, people checking from college or something might only have access to slow PCs. Since the browser has to render the page on the fly, while it is decompressing, it might take longer to render. When the testing is positive and we start using it for the frontpage, there will be an option to disable it for these groups. Try it out, I'm very interested in the results. update: Well, the test was successful and so the frontpage is now using this feature. If there are any problems email us.




Comments

148 Threads | 456 Comments





  • Thanks to maaaaaaaaaaaaaa'en for bringing this HTTP 1.1 option to our attention. I just enabled it on my server under IIS and DAMN things really do load faster.

    I had read about this, but I was hesitant to enable it because MS makes it sound like a terrible thing for dynamic output due to additional CPU usage. But I guess they were thinking in terms of old Pentium Pro 200 servers or something..

    And best of all, pages load so fast you feel like you have a T3. ;) CPU usage is a small price to pay for that kind of speed increase and bandwidth reduction. Hell, you can get a 1ghz CPU and PC133 memory so cheap now anyone can build a damn nice server!