kala-tamin IIS compression


IIS compression



Can anyone tell me the use of IIS/HTTP comression in .net web applications. I have iis 6.0 installed in my system.How do i activate compression.

Is it really helps to betetr the performance in real time?

My web page is very slow and one analyzing tool(web page ANlyzer) says to files are not compressed. Please advise.




IIS 6 Logs M.I.A

1:



Solve IE6 static content caching issues on IIS6
I was tempted to say "belongs on serverfault", but from a development/design/architecture point of view there are some things to know here..
How do you work out the IIS Virtual Path for an application?
  • yes, http compression can make a big difference to performance if bandwidth (size) is the issue, especially if you are talking to non-local clients - and is worth including in most web applications
  • if your pages are slow because of how the processing at the server works, it won't make any difference at all...


    FLV's not being served by web server (302 response)
    it only improves the server -> client measure
  • to enable it, see google - or MSDN
  • it requires a client (browser) that accepts compression (although this is negotiated in the http headers, so it should "fail safe" for old clients)
  • but you need to watch out; if you still support IE 5?6?, there are a number of major bugs here (especially with ajax etc) - test on the clients you expect to see
  • use Fiddler to check that it is working (as a developer, Fiddler should be one of your closest friends...)


Get IIS Web Site identifier programmatically


ASP.Net error: The Local Security Authority cannot be contacted

2:



How do I modify the custom errors of a remote IIS6 website using MSBuild
Check the IIS resource kit, it will help in compress through IIS.
Server with Load Balancing is redirecting to wrong page
Download. Also you can check this article to learn about how to use it to compress.. Another example.


3:


If your website is slow, use some diagnostic tools on it.

Firebug and YSlow are worth examining..


4:


To activate HTTP compression in IIS 6: .
  1. Launch the IIS Management MMC snap-in.
  2. Locate the 'Web Sites' node in the LHS tree pane.
  3. Right click on 'Web Sites' then select 'Properties'.
  4. Click on the Services tab.
  5. Choose the HTTP compression type from the HTTP compression panel.
  6. Click OK.
In IIS 6, setting compression this way (using IIS's own compression mechanism) is all or nothing for all your sites.

Check Marc's link to the TechNet article on how to use adsutil to gain more fine grained control over this.. Jeff had an article from way back about his experiences with setting up compression on IIS 6:. HTTP Compression and IIS 6.0 (CodingHorror). There are third party components by vendors such as 'Port80 Software' that provide more granular control over compression configuration:. Port80 ZipEnable
Port80 HttpZip.


5:


You need to assess the overhead of compression versus the gain of smaller volumes of data on the wire.

In my experience, this has resulted in great gains where the server infrastructure is well specced and the network latency is high.

Try using a tool like Fiddler to do some back to back comparisons of total load time from begin request to end response.. There's a great step by step article on how to enable this here..


6:


What problem are you trying to solve? If you are having a bandwith issue, then compression will be helpful.

Remember, nothing is free.

You may save some bits, but you're trading those bits for CPU time.

.


7:


I've adapted HTTP Compression Module before to compress pages being served from an IIS instance I didn't manage.

Compressing my content ~80%, it was a good match for my situation (spare CPU cycles and slow network to the end user)..



89 out of 100 based on 49 user ratings 1349 reviews