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

Does the benefit of using a CDN outweigh the cost of making all these HTTP request?

1 Answer 132 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
KSBA Techie
Top achievements
Rank 1
KSBA Techie asked on 28 Jan 2010, 05:04 PM

I've enabled the CDN support.

Unfortunately look at all the http request that get generated on one of my pages.
I used to have enable styles and javascript files set to true, but with the CDN, that's ignored.

Does the benefit of using a CDN outweigh the cost of making all these HTTP request?

# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Menu.css
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Default/Menu.Default.css
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Splitter.css
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Vista/Splitter.Vista.css
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/TreeView.css
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Default/TreeView.Default.css
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Window.css
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Vista/Window.Vista.css
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Common/Core.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Common/jQuery.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Common/jQueryPlugins.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Common/Scrolling/ScrollingScripts.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Common/Navigation/NavigationScripts.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Menu/RadMenuScripts.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Splitter/RadSplitterScripts.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/TreeView/RadTreeViewScripts.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Common/Popup/PopupScripts.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Common/Animation/AnimationScripts.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Window/RadWindow.js
# http://aspnet-scripts.telerikstatic.com/ajaxz/2009.3.1208/Window/RadWindowManager.js
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Default/Menu/rmSprite.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Default/Menu/rmVSprite.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Common/TreeView/FirstNodeSpan.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Common/TreeView/TopLine.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Default/TreeView/PlusMinus.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Default/TreeView/ItemSelectedBg.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Common/TreeView/NodeSpan.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Common/TreeView/MiddleLine.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Common/TreeView/BottomLine.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Common/TreeView/SingleLine.png
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Vista/Splitter/ResizeBarVerticalSprites.gif
# http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1208/Vista/Splitter/ExpandCollapseBarsCommands.gif



1 Answer, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 29 Jan 2010, 03:51 AM
I like the CDN for a couple reasons ...

1) Expires headers on all those files, so while there's a lot...they wont need to be re-downloaded for something like 30 years (cant remember the exact far-future date).  So while there is an initial cost (more requests), you're also allowing your sites files to come down faster because they aren't waiting on the telerik chunks to D/L from your domain as they're coming from teleriks domain in parallel

2) Doesn't spend my bandwidth downloading them :)


Tags
ScriptManager and StyleSheetManager
Asked by
KSBA Techie
Top achievements
Rank 1
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Share this question
or