Welcome to Darren Sim's Playpans Sign in | Join | Help

Microsoft Ajax ScriptManager Javascript Issue

Last week, when I was conducting a Hot-Labs for Microsoft Singapore, I got a question from one of the attendees.

"Does ScriptManager actually stores itself in the CACHE? Else I'd have to have it on multiple pages, and that could suffer quite a fair bit on bandwidth"

Re: Does ScriptManager actually stores itself in the CACHE?
Yes, It's stored in the Browser Cache. Thus even if you have ScriptManager on multiple pages, performance is just once.

Re: Else I'd have to have it on multiple pages, and that could suffer quite a fair bit on bandwidth
Through my understanding, when you develop an AJAX enabled page, you should not actually have too many physical pages. Instead, you should have only a couple of pages (one for pre-login and another for logged-in view), as the data/information are pulled in, to the updatepanel, thus having the entire page refresh.

 

Published Tuesday, December 05, 2006 10:16 PM by darren.sim
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Microsoft Ajax ScriptManager Javascript Issue

Tuesday, May 08, 2007 8:38 AM by Tony Debenport

I'm using Fiddler to tune my AJAX web app and it appears that ScriptManager does not cache in the browser nor does GZIP compress it like other java script content. This is unexpected and causing me to rethink the use of AJAX. Any ideas how to fix this?

tony.debenport@novellus.com

# re: Microsoft Ajax ScriptManager Javascript Issue

Tuesday, May 08, 2007 9:37 AM by Tony Debenport

Please disregard my previous comments. It appears the script that is not being cached or compressed is required by the scriptmanager control but not specific to it. This script is required for other controls as well.

GET /esolve2/WebResource.axd?d=tbHk_glE_fG99wR4QtX3ug2&t=632963059436315648 HTTP/1.1

Leave a Comment

(required) 
required 
(required)