Magento Performance - Parallel Downloads

This entry was posted on September 26, 2012 by Brent W Peterson

Adding address for DNS allows you to maximize parallel downloads, but sure you're not using more than 2-4 domains. The reason for this is you may get a penalty for DNS.

Example: Host your HTML and dynamic content on www.mydomain.com and split static components between css.mydomain.com and js.mydomain.com

Setup each domain in your vhost and point to the path on your server (Magento root)

js.mydomain.com -> {Magento_root}/js
media.mydomain.com -> {Magento_root}/media
skin.mydomain.com -> {Magento_root}/skin

Log into Admin and go to System -> Configuration -> Web and set the domains you have created