Http Compression (GZip/Deflate)

24-06-2007 23:10:36

Today i did research for more experience with HTTP compression This kind of optimization is growing, because of the bigger websites web developers as me is creating.

There is many ways to work this out, for Microsoft IIS (ASP.NET) which I'm using, I did find two quite to options to make compression. The best way to do it if you don't have access for the IIS manager, is using an http compression component or create the code by your self using a GZip library. The other option is by using an HTTP compression manager to control it, then you just activate it on one of the websites on your web server.

To give you an example on the optimization, please look at this picture below

 

http_compression_stats

 

As you can see there is a big difference on my website, so i really hope you can feel the update using http compression on this site as well on Grinern.dk. But you have to have a little bit experience to integrating http compression if you don't have access to the web server.

I did get some problems with my javascript, e.g. on my treeview archive for my blog which didn't open, so i did solve the problem by exclude the ScriptResource file from the compression.

I'm using Gzip compression instead of Deflate compression, simple because it did compress the site better.

Hope you all could get some information about this kind of optimization :)



Kommentarer

Der er ingen kommentarer skrevet

Tilføj en kommentar

Navn
Email (Bliver ikke vist på siden)
Hjemmeside
Hvad er 1 + 2?
Kommentar
 
Copyright © 2005 - 2010 Daniel Nøhr. All rights reserved