Code Authors: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Code Authors Forum Index -> Coffee Shop
Author Message
Guardian
Site Admin
Site Admin



Joined: Jan 06, 2006
Posts: 4469
Location: Vsetin, Czech Republic

PostPosted: Sun Sep 19, 2010 4:50 pm Share on Linked InShare on FacebookShare on Twitter Reply with quote

I have just added a small article on CDN's http://www.code-authors.com/content-81.html
This article covers some basic advantages/disadvantages of using a CDN as well as how to create your own psuedo-CDN.
I call it a psuedo-CDN because it has no advantages related to delivering content based on GEO-IP (which a real CDN does) but might be useful to those with a dedicated server/VPS where a number of user accounts might need access to the same files such as jQuery

_________________
TPD 
View user's profile Send private message Send e-mail Visit poster's website
montego
Site Admin
Site Admin



Joined: Jan 06, 2006
Posts: 311

PostPosted: Thu Sep 23, 2010 11:27 pm Share on Linked InShare on FacebookShare on Twitter Reply with quote

With regards to the following statement from the article:

Quote:

Usually files delivered from a CDN are cached so there are added advantages in that there are less HTTP requests to your own website


That is certainly true, but there is also another consideration in that the browser will only initiate so many HTTP/S requests to the same domain simultaneously. Using a CDN is another way to speed up your site by the browser seeing it as a different domain, so more simultaneous requests are made.

For example, if you have a lot of js, CSS and/or images, if you spread those out across multiple CDN domains, your site will load quicker in the browser just some having more HTTP/S requests getting served at one time.

I learned this from YSlow by the way (available as a FF plug-in).

_________________
Where Do YOU Stand?
HTML Newsletter :: ShortLinks :: DynamicTitles :: Approved Membership Lite :: And more... 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jan 06, 2006
Posts: 4469
Location: Vsetin, Czech Republic

PostPosted: Fri Sep 24, 2010 9:03 am Share on Linked InShare on FacebookShare on Twitter Reply with quote

Thanks M, that was an important point that I completely forgot to mention.
I use YSlow myself and some of the results are quite interesting at times, especially when you use ETAGS (RN uses some by default in the htaccess file) to more effectively cache certain file types like images.

_________________
TPD 
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Code Authors Forum Index -> Coffee Shop

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

 
Forums ©
linear-bunch