RE: ASP.Net Caching
- From: Dave <daveII@xxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 08:21:01 -0700
Thank you for the excellent response.
Yes, my question pertains to the caching of the AJAX scripts on the client.
Regarding the "check for newer versions for the stored page" setting, when
it is set to "Never", the AJAX scripts are NOT downloaded everytime.
Otherwise, they seem to be. What setting do you recommend?
I'll try the Web Development Helper when I return from vacation.
Thanks!
"Steven Cheng [MSFT]" wrote:
Hi Dave,.
Have you got any progress on this issue or does the suggestion in previous
message help some?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Content-Transfer-Encoding: 7bit
From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng [MSFT])
Organization: Microsoft
Date: Mon, 28 Jul 2008 03:46:54 GMT
Subject: RE: ASP.Net Caching
Hi Dave,the
From your description, the "Caching" you mentioned here is the cache of
AJAX client script rather than ASP.NET server-side output cache, correct?f
As for client-side scripts or other static resource's caching, it mostly
depend on the client-browser's interpretion of the resources(whether it
detect any change in the url or the httpheader's last modified value
changed). Also, there is specific configuration in client browser to
customize it. For example, you can change the behavior in IE via the
following setting:
**Tools-->internet options---> "General Tab"
**In the "Browsing history" section, click " Settings" button
You'll find the "check for newer versions for the stored page" item
Also, for the behavior you saw, I suspect that whether it is also related
to the webtest tools which may generate some additional header or url
querystring which make the server-side emit different script url for the
AJAX script. This may also make the client browser think the file need
update. Anyway, you can use "Web Development Helper" tool to watch the
behavior when you manually do postback operations on the AJAX page. Based
on my test, for normal AJAX postback, the script resoures are not download
everytime.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#noti
ications.a
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?RGF2ZQ==?= <daveII@xxxxxxxxxxxxx>
Subject: ASP.Net Caching
Date: Fri, 25 Jul 2008 11:39:01 -0700
I'm using ASP.Net with an UpdatePanel. When the screen is exercised via
Web Test, the Web Test shows that the AJAX scripts are downloaded forevery
partial post back.script
My impression was that IE would cache these scripts so that the AJAX
download would only occur once.
What am I missing?
- References:
- RE: ASP.Net Caching
- From: Steven Cheng [MSFT]
- RE: ASP.Net Caching
- From: Steven Cheng [MSFT]
- RE: ASP.Net Caching
- Prev by Date: Re: Do we need Framework to run ASP.NET page
- Next by Date: Re: ASP.Net Caching
- Previous by thread: RE: ASP.Net Caching
- Next by thread: Re: RangeVlidator Currency Minimum and Maximum value
- Index(es):