這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

xiaodu-jsdelivr

外掛說明

Scan and serve static files from jsDelivr CDN (https://jsdelivr.com).

How to use

  1. Install and activate the plugin
  2. Wait for the initial scan(s) to complete. Scan results are shown on the plugin’s options page
  3. The static file references on the frontend and admin area will be replaced

How it works

Explained in my blog entry.

Source code repository

Check out the GitHub repository.

常見問題集

The plugin won’t scan

Please make sure that your WP-Cron is working, or look into alternative ways to trigger cron executions.

No references are replaced

Please wait for the scan to finish. The initial scan may take a while.

Also make sure that your frontend cache plugin (e.g. WP Super Cache) is not serving stale pages.

What is “Scan API”?

It is an optional hosted service, using pre-calculated scan results to accelerate the scanning process.
See my blog post for details.

If you leave the toggle unchecked, nothing will be sent to the service.

使用者評論

閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈xiaodu-jsdelivr〉的開發相關工作。

參與者

將〈xiaodu-jsdelivr〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4.2

  • Add options to control API access timeout and scan failure record timeout

1.4.1

  • Adopt WordPress remote request API for sending HTTP requests
  • Make a HEAD request to check API key to avoid useless data preparation

1.4

  • Add theme version upload support for Scan API
  • Add an option for Replacer to use minified versions of JS / CSS files

1.3

  • Add “Scan API”, an optional hosted service to assist and accelerate the scanning process

1.2.1

  • When a file cannot be matched with a remote timeout, try again soon

1.2

  • Record failed paths during scans to avoid unnecessary attempts in future scans
  • Show scan result and failed paths on options page
  • Add an option to randomize scan order

1.1

  • Provide an options page with status display and two new options
  • Better scan timeout handling

1.0

  • First version with working Scanner and Replacer.