HTML Compressor for asp.net

1.8k views Asked by At

Anyone knows a good way or tool to compress the HTML that is sent to the client?

I was thinking in compressing the HTML in the .aspx files in the production server only, so maybe a tool for doing this would be the right choice.

3

There are 3 answers

0
TomHastjarjanto On BEST ANSWER

A better way is to enable GZIP, you can enable this in IIS

iis6 | iis7

0
Kevin Babcock On

Telerik just released a compression utility as part of their RadControls for ASP.NET AJAX suite. If you aren't a customer you can check it out using the free, non-time-bombed trial of their controls.

Check out this post and this post for details.

0
David d C e Freitas On

An article here about ASP.NET white space cleaning with no runtime cost.

Cleaning out the unnecessary whitespace has the effect of compressing the data.