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
Solve IE6 static content caching issues on IIS6
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
How do I modify the custom errors of a remote IIS6 website using MSBuild
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.
Firebug and YSlow are worth examining..
- Launch the IIS Management MMC snap-in.
- Locate the 'Web Sites' node in the LHS tree pane.
- Right click on 'Web Sites' then select 'Properties'.
- Click on the Services tab.
- Choose the HTTP compression type from the HTTP compression panel.
- Click OK.
Check Marc's link to the TechNet article on how to use
adsutilto 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
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..
Remember, nothing is free.
You may save some bits, but you're trading those bits for CPU time.
Compressing my content ~80%, it was a good match for my situation (spare CPU cycles and slow network to the end user)..