WP CDN Rewrite is a simple plugin that rewrites URLs, generally to static assets, automatically based on a set of rules.
Author: | Blue Worm Labs (profile at wordpress.org) |
WordPress version required: | 2.8 |
WordPress version tested: | 3.3.2 |
Plugin version: | 1.1 |
Added to WordPress repository: | 28-01-2012 |
Last updated: | 24-05-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | http://github.com/bluewormlabs |
Total downloads: | 3 785 |
Active installs: | 20+ |
Click to start download |
For performance reasons, some websites host static content (images, CSS files, Javascript files, etc.) on something other than the main webserver. It could be as simple as separate, higher performance software running on the same server or a full-fledged CDN serving the files from multiple servers around the world.
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:
- Values in
href
attributes of A tags - Values in
href
attributes of LINK tags - Values in
src
attributes of IMG tags - Values in
src
attributes of SCRIPT tags