Title: NextGenThemes jsDelivr CDN
Author: Nicolas Jonas
Published: <strong>1 September 2018</strong>
Last modified: 20 Agustus 2026

---

Cari plugin

![](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

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

[Unduh](https://downloads.wordpress.org/plugin/nextgenthemes-jsdelivr-this.1.3.8.zip)

 * [Detail](https://id.wordpress.org/plugins/nextgenthemes-jsdelivr-this/#description)
 * [Ulasan](https://id.wordpress.org/plugins/nextgenthemes-jsdelivr-this/#reviews)
 * [Pengembangan](https://id.wordpress.org/plugins/nextgenthemes-jsdelivr-this/#developers)

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

## Deskripsi

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/)

## Ulasan

![](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 Desember 
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 November 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 September 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 November 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 November 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 Oktober 2020

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

 [ Baca semua 6 ulasan ](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/)

## Kontributor & Pengembang

“NextGenThemes jsDelivr CDN” adalah perangkat lunak open source. Berikut ini mereka
yang sudah berkontribusi pada plugin ini.

Kontributor

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

[Terjemahkan “NextGenThemes jsDelivr CDN” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/nextgenthemes-jsdelivr-this)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/nextgenthemes-jsdelivr-this/),
periksa [repositori SVN ](https://plugins.svn.wordpress.org/nextgenthemes-jsdelivr-this/),
atau mendaftar ke [log pengembangan](https://plugins.trac.wordpress.org/log/nextgenthemes-jsdelivr-this/)
melalui [RSS](https://plugins.trac.wordpress.org/log/nextgenthemes-jsdelivr-this/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

### 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

## Meta

 *  Versi **1.3.8**
 *  Diperbarui **2 bulan yang lalu**
 *  Instalasi Aktif **300+**
 *  Versi WordPress ** 6.5 atau yang terbaru **
 *  Diuji hingga **7.0.7**
 *  Versi PHP ** 8.0 atau yang terbaru **
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/nextgenthemes-jsdelivr-this/)
 * Tag
 * [caching](https://id.wordpress.org/plugins/tags/caching/)[cdn](https://id.wordpress.org/plugins/tags/cdn/)
   [CDNJS](https://id.wordpress.org/plugins/tags/cdnjs/)[jsDelivr](https://id.wordpress.org/plugins/tags/jsdelivr/)
   [performance](https://id.wordpress.org/plugins/tags/performance/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/nextgenthemes-jsdelivr-this/advanced/)

## Rating

 5 dari 5 bintang.

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

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

[Lihat semua ulasan](https://wordpress.org/support/plugin/nextgenthemes-jsdelivr-this/reviews/)

## Kontributor

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

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

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

## Donasi

Apakah Anda ingin mendukung pengembangan plugin ini?

 [ Donasi untuk plugin ini ](https://nextgenthemes.com/donate)