I have activated w3 total cache and enabled CDN. I have configured my CDN on Rackspace and have uploaded files to CDN. Although I have tried to upload all image, css, js files, there are some files that have not been uploaded.
Also, since mine is a buddypress site, users might occasionally change their avatar or add an image. These images won't be in the CDN until the next automatic update.
Now, the issue I am facing is that after enabling CDN, the server looks for all image, css, js files on the CDN. Ideally, what I would like is for it to search the CDN for the files. If they aren't found there, it should try to locate the files on my website's server.
Currently because all image files are being searched for on the CDN, some of the more recent one's (avatar changes, etc) are not found.
So, how do I configure the CDN plugin to first search for the image in the CDN server. If not found, search on my own server?
I tried doing this with CNAME, by providing multiple hostnames. But when I do this, it always defaults to one or the other server instead of the behavior I desire. Are the hostnames not searched one by one?