Static File Rewrite for CDN


I would be interested in seeing a plugin that would rewrite the static files to a different URL for a origin pull CDN for all the MU sites. I have seen a previous post and worked on getting the plugin from the following post working but seems that even using ‘template_directory’ it did not rewrite all the contact properly.

I would like to simply rewrite all static files to a single hostname for all the sites.