[WordPress] 外掛分享: NGT jsDelivr CDN

WordPress 外掛 NGT jsDelivr CDN 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「NGT jsDelivr CDN」是 2018-08-31 上架。
  • 目前有 500 個安裝啟用數。
  • 上一次更新是 2024-12-21,距離現在已有 132 天。
  • 外掛最低要求 WordPress 6.2.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

nico23 |

外掛標籤

JS | cdn | jsDelivr | javascript | nextgenthemes |

內容簡介

這個外掛會將所有 WP 核心資源替換成由 jsDelivr 提供的版本。

以下的條件必須符合,才能從 jsDeliver 提供外掛資源:

該外掛必須在 wp.org 上托管。商業外掛和其他地方的外掛將不會生效,因為 jsDelivr 只會複製 wp.org 的外掛目錄。
資源 src URL 中必須有 /plugins/plugin-slug/,並以 .js或 .css 結尾(不包括版本控制的 ?ver=1.2.3)。
它需要將其當前版本作為標籤發布在 wp.org 的插件 SVN 上。某些外掛可能只推送到 /trunk/ 上(就像我目前所擁有的),或者其最新版本未發布為標籤。

非常感謝您的捐贈

我花費了很多時間來開發這個外掛,嘗試了多種不同的方法,直到我想出了這個可行的解決方案,並且也不需要太多的代碼。我知道官方外掛已經被放棄了多年,我看到了復雜臃腫的代碼,甚至不想學習它在做什麼,所以才重新開始編寫。 請在此捐贈。

原文外掛簡介

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 on the admin bar on the top right, left of “Howdy, Name”. You can click that and see the assets loaded from jsDelivr.
Support me
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 or Donate here

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「NGT jsDelivr CDN」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.9.0 | 0.9.1 | 0.9.2 | 0.9.4 | 0.9.5 | 0.9.6 | 0.9.7 | 1.0.0 | 1.1.0 | 1.1.1 | 1.2.0 | 1.2.1 | 1.2.3 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon