Title: NextGenThemes jsDelivr CDN
Author: Nicolas Jonas
Published: <strong>1 septembre 2018</strong>
Last modified: 20 août 2026

---

Recherche d’extensions

![](https://ps.w.org/nextgenthemes-jsdelivr-this/assets/banner-772x250.png?rev=3376917)

![](https://ps.w.org/nextgenthemes-jsdelivr-this/assets/icon-256x256.png?rev=1950088)

# NextGenThemes jsDelivr CDN

 Par [Nicolas Jonas](https://profiles.wordpress.org/nico23/)

[Télécharger](https://downloads.wordpress.org/plugin/nextgenthemes-jsdelivr-this.1.3.8.zip)

 * [Détails](https://fr.wordpress.org/plugins/nextgenthemes-jsdelivr-this/#description)
 * [Avis](https://fr.wordpress.org/plugins/nextgenthemes-jsdelivr-this/#reviews)
 * [Développement](https://fr.wordpress.org/plugins/nextgenthemes-jsdelivr-this/#developers)

 [Support](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/)

## Description

It replaces all assets with versions available on jsDelivr. No options, nothing 
to configure, just works.

The code needs to be openly hosted on NPM, Github or wordpress.org.

This plugin adds a little a invisible button in the admin bar on the top right, 
left of « Howdy, {Name} ». It turns dark red on hover. You can click that and see
the assets loaded from jsDelivr. I hope you appreciate how I made it so its not 
annoying or distracting.

### Security

The plugin serves your assets securely. It takes two hashes of your assets (and 
caches them). One sha256 hash for the jsDelivr API to check if the file is hosted
there, another sha384 hash that is put on the `integrity` attribute of every asset
to make 100% sure that the exact same file you have on your server is the served
by the CDN! In case this would ever not be the case the files gets rejected client
side.

### External services

This plugin serves JavaScript and CSS assets from the jsDelivr CDN (cdn.jsdelivr.
net, no affiliation) instead of your own server. It also uses the jsDelivr hash 
lookup API (data.jsdelivr.com) to find whether a file is available on the CDN.

To detect CDN files, the plugin sends a SHA-256 hash of each local asset’s content
to the jsDelivr lookup API. Asset requests to the CDN and the hash lookup are made
from your server when a page is loaded; your visitors’ browsers then load the assets
directly from cdn.jsdelivr.net. jsDelivr may log standard request metadata such 
as IP addresses and requested URLs (see their policies below).

The CDN and API are provided by Volentio JSD Limited (jsDelivr). See their [Terms of Use](https://www.jsdelivr.com/terms/terms-of-use)
and [Privacy Policy](https://www.jsdelivr.com/terms/privacy-policy).

### Your donation would be appreciated

It took me a lot of time to come up with this plugin and I had many iterations over
various different approaches how to do this until I came up with this working solution
that also does not need much code. I know the official plugin was abandoned years
ago and I looked at complicated bloated code and did not even feel like learning
what its doing and never looked at it again and started from scratch.

Please check out my commercial plugin and level up your video embeds with [ARVE Pro](https://nextgenthemes.com/plugins/arve-pro/)
or [Donate here](https://nextgenthemes.com/donate/)

## Avis

![](https://secure.gravatar.com/avatar/0b5ca647758118a2a27ab6d49684018ade35dfa51f03f3fe306857841513305b?
s=60&d=retro&r=g)

### 󠀁[Simple, léger et efficace](https://wordpress.org/support/topic/simple-leger-et-efficace/)󠁿

 [sorciere-tourbillon](https://profiles.wordpress.org/albertine42/) 17 décembre 
2024

Aucune configuration, plugin vraiment léger (7Ko) qui fait très bien son travail!

![](https://secure.gravatar.com/avatar/7545a548d31f733628975527edd94885c7b615d0d47d1cbe3eec98beb6423d64?
s=60&d=retro&r=g)

### 󠀁[Thank you!](https://wordpress.org/support/topic/thank-you-3594/)󠁿

 [keysuck](https://profiles.wordpress.org/keysuck/) 14 novembre 2024

Great plugin with the recent update. Works flawlessly.

![](https://secure.gravatar.com/avatar/9efcac5404edeeea3772c4636eaf01b5f3df92fbe341e06ce7624837a14b9078?
s=60&d=retro&r=g)

### 󠀁[Perfect plugin to use JSdelivr CDN](https://wordpress.org/support/topic/perfect-plugin-to-use-jsdelivr-cdn/)󠁿

 [Kushal Azza](https://profiles.wordpress.org/kushalazza/) 1 septembre 2019

Thank you for amazing plugin, it works like charm! 🙂 Just install and activate 
the plugin, it automatically replaced all CSS/JS elements with JSdelivr CDN URL.
No settings! no customization! no headache!

![](https://secure.gravatar.com/avatar/2c545ad729bf3244977b616130e20c462c337bb459d6606b9d3fbe493bf9edc8?
s=60&d=retro&r=g)

### 󠀁[wow](https://wordpress.org/support/topic/wow-628/)󠁿

 [touficmamdouh](https://profiles.wordpress.org/touficmamdouh/) 28 novembre 2018

JSCDN SHE is Back Back Again 🙂

![](https://secure.gravatar.com/avatar/1889d918462e4e41242f1bf869cf5e3365ab4c0050b1ae34b62de2cef2d72b24?
s=60&d=retro&r=g)

### 󠀁[I love it](https://wordpress.org/support/topic/i-love-it-435/)󠁿

 [10besty](https://profiles.wordpress.org/10besty/) 19 novembre 2018

I love this plugin

![](https://secure.gravatar.com/avatar/93675b5dd86a0df8212f0ceb415a046a5c241b5acc1a3d470b9ffbb59f0f3a86?
s=60&d=retro&r=g)

### 󠀁[Just install and tada!](https://wordpress.org/support/topic/just-install-and-tada/)󠁿

 [AlfredG](https://profiles.wordpress.org/alfredg/) 6 octobre 2020

Great plugin, just install it and without settings it's working. Even stuff from
plugins is coming from the CDN.

 [ Lire les 6 avis ](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« NextGenThemes jsDelivr CDN » est un logiciel libre. Les personnes suivantes ont
contribué à cette extension.

Contributeurs

 *   [ Nicolas Jonas ](https://profiles.wordpress.org/nico23/)

[Traduisez « NextGenThemes jsDelivr CDN » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/nextgenthemes-jsdelivr-this)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/nextgenthemes-jsdelivr-this/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/nextgenthemes-jsdelivr-this/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/nextgenthemes-jsdelivr-this/)
par [RSS](https://plugins.trac.wordpress.org/log/nextgenthemes-jsdelivr-this/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

### 2026-08-20 1.3.8

 * Improved: Refactor dialog JS — wrap init logic in init() function, simplify null
   guards.
 * Improved: Dialog CSS — adjust width, center text, style backdrop.
 * Improved: Update donation links and dialog content, extract arve_links() with
   short/long variants.
 * Improved: Readme — fix tags, date, changelog wording, add security section.

### 2026-08-11 1.3.7

 * New: Document the jsDelivr external service usage in the readme.
 * Fix: Declare minimum WordPress version (script modules require 6.5).
 * Fix: Use the correct text domain for translations.

### 2025-06-12 1.3.6

 * New: Add `<link href='https://cdn.jsdelivr.net' crossorigin='anonymous' rel='
   preconnect' />` to the header to improve performance.

### 2025-10-22 1.3.5

 * Fix: Script Modules not working correctly.
 * Improved: Unified URLs for WordPress assets, skip api calls for them.
 * Improved: Code Quality.
 * Improved: Tests.

### 2025-10-12 1.3.3

 * Improved: Updated logo.

### 2025-10-11 1.3.0

 * New: Full support for script modules, including import map and `<link rel="modulepreload"`

### 2025-09-16 1.2.6

 * Fix: Prevent 404 for some files by checking if files detected by hash are available
   on the CDN.

### 2025-03-22 1.2.4

 * Fix: Wrong type returned.
 * Fix: Not included dialog.js file.
 * Improved: Minor code improvements.

### 2024-12-21 1.2.3

 * Fix: Plugin style detection not working.

### 2024-12-06 1.2.1

 * Fix: Code mistake caused `integrity` attribute to be wrong, plugin files would
   get blocked.

### 2024-12-04 1.2.0

 * New: A info dialog was added that is only loaded when the admin bar is visible.
 * New/Fix: Support for script modules.
 * Improved: Shorten potentially too long transient names.
 * Improved: Replaced `get_headers` with `wp_safe_remote_head`. WP coding standards
   and more efficient.
 * Improved: Simplified and improved the code.

### 2024-05-14 1.1.0

 * Improved: Modernized the code.

### 2019-09-07 1.0.0

 * Improved: Run only once per page-load.
 * Improved: Better function names and some useful comments.
 * Improved: Send this plugins url as user-agent to jsDelivr knows how it’s used.(
   They asked for this). This also means more privacy as the `wp_remote_get` referrer
   by default would send your site URL (I really do not like that)

### 2019-08-31 0.9.4

 * Improved: Coding standards, some minor things.

### 2018-09-23 0.9.2

 * Fix: Force the recheck of file hashes when WP gets updated to not end up with
   core assets.

### 2018-09-01 0.9.1

 * First release

## Méta

 *  Version **1.3.8**
 *  Dernière mise à jour **il y a 2 mois**
 *  Installations actives **300+**
 *  Version de WordPress ** 6.5 ou plus **
 *  Testé jusqu’à **7.0.7**
 *  Version de PHP ** 8.0 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/nextgenthemes-jsdelivr-this/)
 * Étiquettes
 * [caching](https://fr.wordpress.org/plugins/tags/caching/)[cdn](https://fr.wordpress.org/plugins/tags/cdn/)
   [CDNJS](https://fr.wordpress.org/plugins/tags/cdnjs/)[jsDelivr](https://fr.wordpress.org/plugins/tags/jsdelivr/)
   [performance](https://fr.wordpress.org/plugins/tags/performance/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/nextgenthemes-jsdelivr-this/advanced/)

## Évaluations

 5 sur 5 étoiles.

 *  [  6 avis à 5 étoiles     ](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/?filter=1)

[Votre avis](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/)

## Contributeurs

 *   [ Nicolas Jonas ](https://profiles.wordpress.org/nico23/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://nextgenthemes.com/donate)