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

RadScriptManager creating DOMs

1 Answer 39 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 11 Jun 2015, 06:13 PM

I am working on increasing the performance of one of our web applications. I have implemented the RadScriptManager and RadStyleSheet Manager into the master pages as well as adding the 2 "add key" lines into the appsetting of the web.config. I also added in the RadCompression to help decrease the weight of files being sent over. I have tried running it with the CDN but it was not loading the pages correctly, so I have disabled the CDN. Running my page on Yslow I have seen a significant drop in the HTTP requests which was a goal, but I have also seen a massive increase in DOM elements. My users are using IE which is not handling the abundance of DOM elements. Can someone explain what might be happening? Is it because I am no longer using the CDN or are there more things I should be adding into my application files?

 

Thanks in advance for any help!

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 16 Jun 2015, 07:45 AM
Hi Mike,

The purpose of the RadScriptManager and RadStyleSheetManager is to combine the requests for resources. This should result in less script/link tags outputted on the page. When the CDN is enabled the web resources are loaded from the Amazon servers, and each loaded resource is outputted on the page as a separate element, but the main benefit from this is the caching. Whenever a user revisit the page, the resource won't be requested again from the Amazon server, but will be loaded from the browser's cache.

Regards,
Dimitar Terziev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ScriptManager and StyleSheetManager
Asked by
Mike
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or