How does having assets saved on a secondary domain(s) reduce the load time of the website?

Posted by AAA on Programmers See other posts from Programmers or by AAA
Published on 2012-06-29T17:04:34Z Indexed on 2012/06/29 21:23 UTC
Read the original article Hit count: 113

Filed under:
|
|

I went for an interview yesterday where I was asked this question:

"How does having assets (images/videos) stored on a secondary domain (assets.example.com) reduce the load time of example.com?"

To that I answered that by having the code "call" those assets from a secondary website it reduces the traffic that is coming to the main domain and therefore only applying bandwidth to the main domain vs having to also serve bandwidth to request assets.

Is that correct?

Also, If i am correct, would you say it makes sense to start new websites with this in mind or do you prefer having it done after large traffic rates are achieved?

© Programmers or respective owner

Related posts about web-development

Related posts about websites