Before I deploy my javascript to my prod web server I run it through a compression utility. Basically all it does is remove all comments, spaces, line breaks, etc. You won't be able to read it once it's done, but hey I don't have to read it, the browser does.
Anyways, I usually can get the JavaScript file about 30 - 50% smaller by doing this. I was fiddling around with Fiddler for IE7 and I noticed that all of the javascript in the WebResource.axd files is not compressed. Looking at the Timeline feature in Fiddler I can see that these resource files make up a significant portion of the overall load time and I am trying to think of ways to get my pages to load quicker.
Is there anyway I can change these js files to act more like my js files where I "compress" them by ripping away all of the extraneous stuff, thus making the file smaller and load faster? For instance can I run through all of the files located in \\Server\C\Inetpub\wwwroot\aspnet_client\infragistics\20063CLR20\Scripts? Or does the Javascript in the WebResource.axd file get generated by dlls?
Anyone know?
Thanks,
-- Joe --