WP Manifestindependent plugin directory
manifest / performance / minit-cdn

Minit CDN

CDN support for WordPress plugin Minit

★ 3stars
1.0.0latest · 10 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/lq2-apostrophe/minit-cdn/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WordPress plugin as CDN support for Minit by Kaspars Dambis.

Author: LQ2' (Website | GitHub)

Installation

  1. Install Minit and Minit CDN.
  2. Activate Minit and Minit CDN.

CDN settings

Use the hook minit-cdn-settings in your theme's functions.php file. For example:

add_filter( 'minit-cdn-settings', 'my_cdn_settings' );
function my_cdn_settings() {
    $cdn_settings = array(
        'http://cdn.example.com', // CDN URL (without trailing slashes)
        true, // Use CDN over HTTPS?
        true // Apply CDN for URLs of Minit files too?
    );
    return $cdn_settings;
}

Note: All array items must be set (not optional).

Known bugs

Minit itself will combine all remaining CSS/JS files if it can't combine them on its last try. So if this plugin is configured to apply CDN for URLs of Minit files, Minit will think of these files as external files and not combine them.

License

This plugin is released under GPL.

Version history

1.0.0

First release

Releases

1 release.

Tag
Published
1.0.0 latest
Aug 2, 2016 10 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.