dannyvankooten/wp-cdn-loader

Replaces WordPress theme & plugin asset URL's with a CDN's URL

Installs: 5 361

Dependents: 0

Suggesters: 0

Security: 0

Type:wordpress-plugin

1.0.2 2022-12-24 19:19 UTC

This package is auto-updated.

Last update: 2024-10-24 23:09:09 UTC


README

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.