Hello there, I have 40 sites and they all have the same layout, just different logos and content. The images are all the same, and the css files are identical. I want to know what is more efficient for the visitor; having 1 global folder for the images & the css, or repeating the images and css over every site. If you don't quite understand I will explain. My site has a main domain: site1.com, then I have subdomains like site2.site1.com, site3.site1.com, and on these subdomains I add a domain: site2.site1.com is site2.com, etc. I have an images folder and css folder on site1.com that is the global folder. So, in the coding on site2.com and site3.com, etc. I put link href="http://site1.com/css/style.css" as the style sheet for all 40 sites - so I only have 1 actual css file, but it works for all 40 sites and is hosted on the main domain. I do this with images too. Folders would look like this: - public_html -- site1 --- css ---- style.css --- images ---- img.png --- index.html -- site2 --- index.html -- site3 --- index.html etc. So the other way: an individual css file for EACH site. That means I'll be copying 1 css file 40 times. So all of the links would say href="css/style.css". The folders would look like this: - public_html -- site1 --- css ---- style.css --- images ---- img.png --- index.html - public_html -- site2 --- css ---- style.css --- images ---- img.png --- index.html - public_html -- site3 --- css ---- style.css --- images ---- img.png --- index.html etc. Which is more efficient? Having just 1 file on the 'head' site, for having 40 files locally? Thanks.
I think having one file in the parent site makes sense here. But are you sure you will not be editing the CSS individually, my friend?