WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Milan Dinić v1.1.0

commonWP

Offload open source static assets to the free, public CDN.

commonWP

The facts

Rating
4.7★ from 18
Active installs
400+
Price
Free
Last updated
24 Feb 2019
Added
Sep 2018
Requires WP
4.7
Tested up to
WP 5.1.24
Requires PHP
5.4
Downloads
11,754

Our analysis

AI-assisted

commonWP is a WordPress plugin that allows you to use a free public CDN, jsDelivr, for open source JavaScript and CSS files. It automatically rewrites file links to point to the CDN, ensuring that only identical files are used for security. The plugin works in the background to cache resources without requiring any settings from you.

This plugin is suitable for WordPress users who want to improve their site's performance by leveraging a CDN for their JavaScript and CSS files, particularly those using themes and plugins from WordPress.org or GitHub.

Best for: WordPress users looking to enhance site performance with a CDN for open source assets.

What it does well

  • Enables usage of free public CDN for JavaScript and CSS files
  • Automatically rewrites file links for improved performance
  • Only uses identical files for security
  • Lightweight and secure approach
  • No settings required after activation

Where it falls short

  • Limited information on specific performance improvements
  • No user-configurable settings available
  • Last updated in February 2019

Verdict

commonWP provides a straightforward solution for integrating a CDN into your WordPress site, but its lack of updates and user settings may be a concern for some users.

From the developer

Milan Dinić's own description of commonWP, lightly tidied.

commonWP is a plugin that enables usage of free, public CDN (jsDelivr) for open source JavaScript and CSS files. Those files are:

  • All files from WordPress core, unless development version of WordPress is used.
  • All files from plugins hosted by WordPress.org Plugins Repository, unless author of specific plugin doesn’t use SVN tags for releasing.
  • All files from themes hosted by WordPress.org Themes Repository.
  • All files from plugins and themes hosted on GitHub that support GitHub Updater.
  • All files marked as available on npm in any type of theme, plugin, or MU plugin.

It aims to be both lightweight and very secure. The approach used in this plugin is safer then in any other plugin that enables usage of any CDN. First, commonWP will only rewrite file to point to one on jsDelivr if that remote file is identical to local one. Second, during comparison, it generates subresource identity hash of remote jsDelivr file and includes that hash in page’s source code so browser won’t load remote file if it doesn’t have exactly the same hash.

There are no any settings. After activation, it will fill up its cache in the background, and that may take some time depending on number of resources site uses.

For much more details about commonWP, head over to its GitHub repository.

Read the full description on the official page →

Tagged as