Amazon CloudFront is a content distribution network (CDN) that can help you survive a huge amount of load in a short amount of time. What’s the easiest way to configure WordPress to host its files (media library, CSS, plugin files, theme) on S3/CloudFront?
(I’m currently using W3 Total Cache to do this.)
The plugin works fine; alternative you can use a own function to replace the bloginf() to your CDN-Url; Example:
replace the url in content:
replace stylesheet_directoy and others:
replace the template_directory and other:
I think the W3 Total Cache Plugin can help you..