Last post Aug 02, 2007 11:48 PM by Ivannicoff
Jul 31, 2007 07:25 PM|Ivannicoff|LINK
In Microsoft Home Page the aspx output markup is without whitespaces. Do you know any solution how to do this?
Aug 01, 2007 02:54 AM|Imco|LINK
You could either use an
ISAPI filter or a
HTTP Module for this. You'd just strip whatever you wanted (in this case the whitespace) from the response after it's been rendered. Take a look at this
example HTTP Module for one approach.
Disclaimer: I don't know that guy who wrote the blog entry, nor I have ran or verified that code, I just found him by searching. Use it at your own risk.
Microsoft probably sees decent savings due to the sheer amount of traffic they have to contend with. Most people will have much better results using compression (which
IIS has built in). It's also much easier to debug your pages when it's nicely formatted. :)
I hope that helps.
Aug 02, 2007 11:48 PM|Ivannicoff|LINK