Developer forum

Forum » Feature requests » HTML minification

HTML minification

Peter Munkholm
Reply

Would it be possible to include something like this directly into Dynamicweb. Maybe make an option in the settings to enable and disable...

http://madskristensen.net/post/a-whitespace-removal-http-module-for-aspnet-20


Replies

 
Nicolai Høeg Pedersen
Reply

It would, you can do it on custom solutions, but since the frontend is usually gzipped (if you have not disabled it) it makes no sense, since the zipping removes the unneeded bytes...

 
António Ramos
António Ramos
Reply

Hi Nicolai,

 

Please take a look at this thead. The minifed + gzip can even reduce more bytes. I think it's a nice feature to have in future DW versions.

 

BR,

António Ramos

 
Nicolai Pedersen
Reply

Well, go ahead doing it. It will not be built in.