Associate
- Joined
- 19 Jun 2003
- Posts
- 1,680
- Location
- West Yorks, UK
Best practice for hosting static content/parallelized loading?
Hi all,
I have a e-commerce website that is getting more and more traffic (~1000 visits per day). I want to alter the structure around to serve static content (CSS, layout images etc) from a different domain to help with the site speed.
The site is running on a Linux server. I have full control over the server, the site and any DNS records.
My plan was to setup a new subdomain on the same server, http://static.domain.com, copy relevant files to it and update the stylesheets etc to use the new subdomain. However, i've seen a couple of sites mention setting up a CNAME DNS record pointing back to the same site and do it that way.
Does anyone have any suggestions as to what is the best practice for setting this up? Paying for a CDN website isn't an option.
Cheers,
Matt
Hi all,
I have a e-commerce website that is getting more and more traffic (~1000 visits per day). I want to alter the structure around to serve static content (CSS, layout images etc) from a different domain to help with the site speed.
The site is running on a Linux server. I have full control over the server, the site and any DNS records.
My plan was to setup a new subdomain on the same server, http://static.domain.com, copy relevant files to it and update the stylesheets etc to use the new subdomain. However, i've seen a couple of sites mention setting up a CNAME DNS record pointing back to the same site and do it that way.
Does anyone have any suggestions as to what is the best practice for setting this up? Paying for a CDN website isn't an option.
Cheers,
Matt
Last edited: