外掛說明
CDN Enabler 是一款簡單易用、可重寫網址的 WordPress 外掛。可重寫項目包含 CSS、JavaScript 及圖片,並由內容傳遞網路 (CDN) 提供。這能將網站大部分流量移轉至 CDN,對提升網站效能、可靠性及延展性十分有幫助。
外掛特色
- 快速高效能的重寫引擎
- 手動或使用 WP-CLI 清除快取 (必須連接 KeyCDN 帳號)
- 依據檔案副檔名在重寫規則中包含網址
- 依據字串在重寫規則中排除網址
- 支援 WordPress 多站網路
- 支援 WordPress REST API
- 可與 Cache Enabler 完美搭配使用
這個外掛的重寫運作方式
CDN Enabler 擷取頁面內容並由指定的 CDN 提供重寫網址。
線上說明
協助開發
- 如果想要提交程式碼錯誤、貢獻程式碼或改進介面譯文,我們十分歡迎。請前往外掛的 GitHub 存放庫〈Issues〉頁面或本地化專案頁面進行。
外掛開發維護
使用者評論
2021 年 8 月 26 日
1 則留言
the plugin has been very helpful for my site.
2021 年 6 月 20 日
1 則留言
I am impressed, CDN enabler was also able to handle wp-json 100% without any issue. Thanks
2021 年 2 月 24 日
1 則留言
Working perfectly in version 2.0.2.
It just changed the link a little bit, but that's okay.
You guys are awesome, thank you very much!
2021 年 2 月 20 日
1 則留言
As a software developer myself, I appreciate the work that goes in to making this plugin. It was easy to set up and performs well. When a recent major version update caused problems, attention was given swiftly and the issue was resolved.
If you want an all-in-one CDN solution, purchasing the associated KeyCDN would be a simple and effective choice. The free plugin also works with other CDN providers, we are using AWS CloudFront and this is also working well.
2021 年 2 月 12 日
1 則留言
This plugin conflicts with the current version of Divi. It prevents the builder from loading.
2021 年 2 月 11 日
1 則留言
At some point in the last 24 hours, the plugin was updated without my knowledge resulting in a broken website. I have not enabled the auto update for this plugin, as I don't any of that I use. I am in the site on a daily basis and manually update things as needed. This is the reason for it. It took me a while to figure out the problem was your update.
You took away the ability to select which directories would be changed to my cdn. And, when I use the hostname, which is an amazon couldfront url, it results in a message:
"Invalid CDN Hostname: assets.aroundfortwayne.com returned a 403 status code."
That issue is resolved by unfortunately deactivating your plugin.
You need to give a warning when drastically changing your plugin like that - especially if you're going to ignore auto update settings.
Very disappointed after using this plugin for years. I have been considering purchasing the paid version, but if this is the way you operate, no thanks.
參與者及開發者
變更記錄
2.0.6
- WordPress 6.1 compatibility
2.0.5
- Add server input sanitization
2.0.4
- Update configuration validation to include the Site Address (URL) as an HTTP
Referer
(#42) - Update URL matcher in rewriter to match URLs that are in escaped JSON format (#41)
- Update CDN hostname validation to trim surrounding whitespace characters (#40)
2.0.3
- Update output buffer handling (#29)
- Fix purge cache request handling (#31)
2.0.2
- Update URL matcher in rewriter (#28)
- Update full URL rewrite (#28)
2.0.1
- Update URL matcher in rewriter (#25)
- Update settings conversion (#26)
- Add
cdn_enabler_exclude_admin
,cdn_enabler_contents_before_rewrite
, andcdn_enabler_contents_after_rewrite
filter hooks (#27) - Fix configuration validation for installations in a subdirectory (#27)
- Remove
cdn_enabler_page_contents_before_rewrite
filter hook in favor of replacement (#27)
2.0.0
- Update output buffer timing to start earlier on the
setup_theme
hook instead of thetemplate_redirect
hook (#23) - Update settings (#23)
- Update requirements check (#23)
- Update purge CDN cache handling (#23)
- Add new rewrite engine (#23)
- Add WP-CLI cache purging (#23)
- Add configuration validation (#23)
- Add
cdn_enabler_user_can_purge_cache
,cdn_enabler_page_contents_before_rewrite
,cdn_enabler_bypass_rewrite
,cdn_enabler_site_hostnames
, andcdn_enabler_rewrite_relative_urls
filter hooks (#23) - Fix requirement notices being shown to all users (#23)
- Fix rewriting limitations (#23)
- Deprecate
user_can_clear_cache
filter hook in favor of replacement (#23)
1.0.9
- Rewrite URLs filtering the_content so that rendered HTML in REST API use CDN
1.0.8
- Purge CDN redirects to admin dashboard to avoid error messages
- Better error messages
- Do not display nag notice when KeyCDN API credentials are set
1.0.7
- Minor bug fixes (pass-by-reference)
1.0.6
- Minor bug fixes
- Improved CDN purging
1.0.5
- Multiprotocol CDN rewriting
- Add purging through KeyCDN API
- Don’t rewrite if in admin preview mode
- Rewrite to HTTPS if enabled and client connects through HTTP
1.0.4
- Removed unused code
1.0.3
- Improved exclusions for directories and extensions
1.0.2
- Switched from siteurl to home (e.g. for bedrock support)
1.0.1
- First major release
- Fixed warnings
0.0.1
- First release