• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 597
  • Last Modified:

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.
0
Beamson
Asked:
Beamson
1 Solution
 
Bob LearnedCommented:
Here is some "light" reading material:

ASP.NET AJAX Performance Improvement
http://lancezhang.wordpress.com/2008/11/15/aspnet-ajax-performance/

"However, many beginners always complain that, using ASP.NET AJAX make their web application slow down, don’t perform as well as they had hoped."

1. Enable The Caching
2. Enable The Compression
3. ScriptMode for Release
4. EnablePartialRendering Yes or No?
5. LoadScriptBeforeUI
6. ToolkitScriptManager
7. CompositeScript
0
 
BeamsonAuthor Commented:
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!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now