Parallelize downloads across hostnames on existing WP site

efeezy

New member
Oct 5, 2007
5,250
136
0
50
So I'm trying to speed up a couple sites and I'm always seeing the parallelize downloads message when I do speed tests.

I get the theory of creating subdomains (images.mydomain.com, images2.mydomain.com) and hosting the images on those sub-domains, but when you have an existing WP site with images that are all structured either /images/filename.jpg OR /wp-content/uploads/2013/01/logo.png, isn't it just begging for a huge mess because of the URL & directory change? Is there an easy way to do this so I don't have to physically find every image on site and manually change the target url? Sorry if this is a super basic question. Like I said I understand the idea behind it, but doing it cleanly seems like a huge pain in the ass.
 


1. Please don't tell me you're creating images.mydomain.com on the same hosting account as mydomain.com.

2. You're looking for a CDN. Get you images uploaded to AWS, or something.

3. mod_rewrite will do what you want. Any image requests can be re-written to grab the image from another URL / server.
 
1. Please don't tell me you're creating images.mydomain.com on the same hosting account as mydomain.com.

2. You're looking for a CDN. Get you images uploaded to AWS, or something.

3. mod_rewrite will do what you want. Any image requests can be re-written to grab the image from another URL / server.

No I haven't done anything yet. I wanted to get ideas on the best way to do it. Any reason I couldn't set it up on a different dedicated server I have?
 
W3TC will take care of that for you. It connects automatically to most CDN APIs and manages the uploads as well.

With a few clicks, you can have ALL your images and ALL your scripts rendering from different hostnames. You can make images load from img.yoursite.com and scripts load from scripts.yoursite.com OR chose to load everything else from cdn.yoursite.com