This is a migrated thread and some comments may be shown as answers.

Embedded Scripts not Cached

1 Answer 126 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 18 Apr 2008, 04:31 AM
Dear Telerik,

We have been developing a RIA for the last couple of months. Recently it was tested form a location in England (with our development servers in Australia).

The results are disturbing as the page load is far longer (say 10-12 seconds) than we are getting from locations here in Australia. I have been using Firebug in an attempt to see what is happening and am convinced the problem is with multiple requests being sent back to our server to retrieve the embedded rsources. My reasons for this are:
1. Page loads are much faster (3 sec) when the Telerik controls are removed.
2. Page loads are faster if IE "check for newer versions of stored pages" is set to never.
3. Firebug color codes the network traffic in a lighter gray if it is saticefied by cache - this is not happening - .axd based resources are still the darker colour.

I have checked the response header using Firebug and the Cache-Control is set to Public.

The way the app is structured, the page content that contains Telerik controls is loaded into a dynamically added IFRAME element - does this have any ag=ffect on caching ? I am not adding any of my own headers, but i have added the following to the web.config :

 <system.web.extensions>
  <scripting>

   <scriptResourceHandler enableCompression="true" enableCaching="true"/>
  </scripting>

 </system.web.extensions>

 <compilation debug="false">

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 21 Apr 2008, 03:02 PM
Hi Simon,

Please read this help article - Optimizing output and page load time by using RadScriptManager and RadStyleSheetManager.

I hope it is useful.

Kind regards,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Simon
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or