WP CDN Rewrite is a simple plugin that rewrites URLs, generally to static assets, automatically based on a set of rules.
While many plugins like this already exist for WordPress, we couldn't find any that matched our needs. Furthermore, most required running a caching plugin in addition to the CDN plugin. In many cases, that's fine, but we don't always want to have caching.
The following are rewritten if a rule matches:
hrefattributes of A tags
hrefattributes of LINK tags
srcattributes of IMG tags
srcattributes of SCRIPT tags