Jan 10 2007

IncludeScriptsCompression

Posted by admin under ASPCodeHeaderManager

All scripts you add to a GlobalScriptArea will be placed within a single <script> tag inside the HTML head. You have the option to compressing these as well ( 0 = none , 1 = remove whitespace, 1=obfuscate and pack).

As usual - the DebugMode must be set to true for this to ever happen.

Personbally I mostly use 1 = remove whitespace. It does save some bytes - but still no performance hit (javascript packing level 2 gives a small performance hit) - unpacking the code.