views:

18

answers:

0

I have been reading Steve Souders and others and blogs about increase site performance. My previous question about introducing Queues was also part of it to increase my site performance.

Apart from header compression,CSS/JS minifying and their positions, one thing I read about loading resources from different subdomains. One of the example we experience is Google Maps which loads chunks of images from subdomains. Since browser can 2/3 connections at a time hence it then load resources after previous are loaded.

Now, I am interested to know how can I implement it. say if I have 2 CDNs(w.r.t locations) which loads different images(Product images,site assets images,js etc). Now my queries are:

1-if I have 2 physical CDNs;cdn1.com and cdn2.com, can I use htaccess to make subdomains(without physical presence) like 1.cdn1.com;js.cdn.com, if then then how could it be done?

2-how many subdomains via htaccess will be suitable which is loading many images,js and cs etc. say if I have 20 images,2 CSS and 3 JS, can I use 20 subdomains;1 for each image?

3- Does CDN name also matters?if my site is abc.com and cdn name is int.sitecdn.com rather than cdn.site.com, will it make a difference

Note: We are already using CDNs and static data is already there but then CDN itself is a server and requesting too many things one after another do bring delay on loading an entire page. I am more interested to use CDN efficiently. Thanks for your time. also guide me if you know other techniques for parallel loading