Link to home
Start Free TrialLog in
Avatar of Craig Beamson
Craig BeamsonFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Numerous (about 83) ScriptResource.axd files produced by asp.net page with AJAX

I'm rewriting a website and really making the effort to fix as many problems as possible, no matter how minor.  Having recently had to use a mobile browser on a weak GPRS signal outside Ambleside (!) I'm trying to ensure my redesign keeps data transfer sizes minimal.

I've developed and initially inspected a virtually empty page using Fiddler Web Debugger, I was amazed that, as well as the page, favicon, css file and the small logo image, there were 83 Resource.axd files adding up to 480kb.  I understand that these pages are required - just shocked by the quantity and size.  Is this normal?

The page just has the placeholder for the Ajax Toolkit scriptmanager but no active Ajax items.

<ajaxToolkit:ToolkitScriptManager ID="AjaxScriptmanager" runat="server" EnablePartialRendering="true">

Open in new window


Is this behavior normal and more importantly, can I reduce the number and size of these files down whilst still having access to the Ajax "AutoComplete" behavior?

I know the installation of the AJAX Toolbox was a bit messy (Installed on one PC, copied over, uninstalled, re-installed etc) which may or may not have some bearing. (Version 4.1.7.725.)  Also, the page also makes use of the Modernizr-2.6.2.js scripting, though I believe the latter is a self-contained 50kb file.
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Craig Beamson

ASKER

Have begun to read this and all seems to be the right kind of stuff.  There's a lot to apply, so think I'll have to go through this with a bit more leisure!