MicrosoftAjaxWebForms.debug.js Download Prevention

I have an ASP.NET web application, and I'm trying to reduce HTTP requests to the server, so I would not download things like MicrosoftAjaxWebForms.debug.jsthat MicrosoftAjax.debug.js.

The script manager is used to compile all of my external javascript files into one, and I am concerned that this causes other unrelated libraries to load.

+5
source share
2 answers

This is really a ScriptManager that pulls them. Perhaps you can reduce the number of added scripts by disabling various functions on it, for example. PageMethods.
Find properties starting withEnable...

, , , ScriptManager, , , <script> .

+3

, web.config. <compilation debug="true"> /configuration/system.web <compilation debug="false">.

+5

All Articles