kashyyyk Posted April 16, 2014 Share Posted April 16, 2014 (edited) I've done a few searches and a dozen websites just copied the same text and images from 1 original source, but gives no real info on how to do this. I copied the section I have questions about. . Create sub-domains for Javascript files and CSS files Create a sub-domain js1.mystore.com and ask your hosting provider to direct it to /js/ Create a sub-domain js2.mystore.com and ask your hosting provider to direct it to /theme/mytheme/js/ Create a sub-domain css1.mystore.com and ask your hosting provider to direct it to /css/ Create a sub-domain css2.mystore.com and ask your hosting provider to direct it to /theme/mytheme/css/ These 4 sub-domains will allow your visitors to load more files at the same time. Basically, a web-browser is limited to 8 parallel downloads. Each sub-domain is adding 8 new parallel downloads, so the total would be 40 (Main domain + 4 sub-domains). Ask hosting provider to direct it to... Why? What goes in the subdomain? Shouldn't the files go in the subdomain and then the old folder redirect to the subdomain for the files? If it's correct, how do I get the subdomains into the customers browser to call the files in the old folders. Can htaccess redirect work instead of asking the hosting company. Thanks, sorry if I'm asking a stupid question, but it just doesn't seem like enough info to move me a step closer to a faster website. Edited April 16, 2014 by kashyyyk (see edit history) Link to comment Share on other sites More sharing options...
Tanatus Posted November 9, 2015 Share Posted November 9, 2015 (edited) Has anyone have some ideas? Edited November 9, 2015 by Tanatus (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts