Script comments aren't removed when publish
-
Wednesday, November 14, 2012 9:57 PMUsing Expression Web 4, I select the remove the "Script comments" from the HTML Optimization Settings. The comments are removed from javascript contained in *.asp files, but not from javascript-only files contained in *.js. Is there a way to optimize these files when publishing?
All Replies
-
Wednesday, November 14, 2012 10:42 PM
AFAIK, no one here uses Optimize. With today's transfer speeds and bandwidths, the transfer savings is on the order of microseconds, and the resulting unreadable code is undesirable.
But, no, AFAIK, there are no optimization settings other than those presented when you set it up. Sorry...
cheers,
scottPlease remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.
-
Wednesday, November 14, 2012 10:48 PM
AFAIK, no one here uses Optimize. With today's transfer speeds and bandwidths, the transfer savings is on the order of microseconds, and the resulting unreadable code is undesirable.
Thanks Paladyn. I like to be liberal while I'm commenting my code, but I'd prefer others don't see my comments.

