/wp-cdn-loader

Loads WordPress assets from a CDN instead of of local server.

Primary LanguagePHP

CDN Loader for WordPress

Simple plugin that will load all public assets from a CDN instead of your local server.

Usage

  1. Install the plugin
  2. Define the following constant in your wp-config.php
define( 'DVK_CDN_URL', '//xxxxxx.cloudfront.net' );

The plugin won't replace assets when SCRIPT_DEBUG is enabled.