Compressing ASPX pageview in code or compress HTTP in IIS?

Posted by DDiVita on Stack Overflow See other posts from Stack Overflow or by DDiVita
Published on 2010-12-30T13:31:07Z Indexed on 2010/12/30 13:54 UTC
Read the original article Hit count: 156

Filed under:
|
|

In the past, with pages with large viewstate I have overridden the PageStatePersister class so when the state is saved I compress it. On Load I decompress it. I have haven't really thought about it, but could IIS handle something like this better? The reason I did this was to keep my pages slimmer because I have a lot of custom controls on the page and the viewstate was huge. This is where I got my original code from:

http://www.codeproject.com/KB/viewstate/ViewStateCompression.aspx?msg=1906999

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about compression