简体   繁体   中英

HTML Compressor for asp.net

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.

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

iis6 | iis7

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM