Breeze Cache

外掛說明

Breeze 由 Cloudways 團隊所開發,是個輕巧、功能強大且方便使用的快取外掛。它提供了各種設定來為不同層級的 WordPress 網站效能進行最佳化,且同時適用於 WordPress、WooCommerce 及多站網路。

Breeze 在以下幾個方面表現優異:

  • 效能:Breeze 除了能改進網站速度及主機資源最佳化外,還包含了檔案層級快取系統、資料庫清理、最小化、支援 Varnish 快取及簡化 CDN 整合設定等功能。

  • 便利:在 WordPress 網站中,直接安裝及設定 Breeze 相當容易。設定 Breeze 相當簡單,且按照預設值便能在多數的環境中運作良好。建議設定應該能在全部 WordPress 網站上無痕般的運作。

  • 簡單:Breeze 設計成要讓全部使用者都能輕鬆上手。僅需安裝並啟用這個外掛,便能立刻體驗到絕佳的效果。

Breeze Cache 內建 Varnish 支援是它成為表現優異的快取外掛的主要原因。如果網站的主機並未安裝 Varnish,Breeze 依舊能透過內部快取機制,大幅提昇 WordPress 網站的效能。

外掛特色

  • 與 Varnish 快取無縫整合,提供高效率的內容傳遞,並且不需手動調整,全部設定已預先組態,方便使用者直接使用。
  • 使用 Cloudflare 的快取功能進行效能最佳化,且不需為 Breeze 進行組態,隨裝即用。
  • 輕鬆將偏好的內容傳遞網路 (Content Delivery Network,CDN) 整合至 Breeze 中,而不需使用 CDN 服務提供商的外掛。
  • 輕鬆解決 WordPress 資料庫的臃腫龐大狀況。Breeze 的資料庫選項能夠最佳化並整理網站資料庫,並透過移除不需要的資料 (例如內容修訂及回收桶中的項目) 提升效能。
  • 控制排除快取的方式。使用 Breeze,網站管理員便能設定外掛排除對特定網址、 JS 檔案及 CSS 檔案進行快取。
  • 透過最小化 HTML、CSS 及 JavaScript 檔案 (包含內嵌 CSS 及 JavaScript),達成較小頁面檔案大小及更快載入速度的目標。
  • 圖片可供檢視時才載入,而非一次載入全部圖片,實作圖片延遲載入以提高網頁效能。
  • 延遲載入 JS 檔案,能提升網站整體效能。
  • 使用 Breeze 的進階預先載入功能如提早載入字型、加快連結點擊及增強的 DNS 要求,便能提升使用者體驗,並讓網站速度發揮最大效益。
  • 使用 Breeze 的 Heartbeat API 管理即時互動。透過調整 API 呼叫頻率,便能微調通知方式,銷售資料、自動儲存等項目以最佳化 WordPress 網站效能。
  • 使用匯入/匯出功能輕鬆管理 Breeze 設定。將現有的 Breeze 組態下載為 JSON 檔案進行備份,或輕鬆匯入現有設定以快速微調網站的最佳化設定。

技術支援:我們樂於提供技術支援,請在前往 WordPress.org 技術支援論壇進行提問;如果是 Cloudways 的客戶,可以前往 Cloudways 社群論壇提出問題。

環境需求

為獲得較佳效能表現,建議採用 PHP7.4 或 PHP 8、以及 WordPress 6.0 以上版本

安裝方式

透過 WordPress 控制台安裝外掛:

  • 在 WordPress 管理後台的選單上,按一下 [外掛]→[安裝外掛]。
  • 以 Breeze 為關鍵字進行搜尋。
  • 搜尋到 Breeze 外掛後按一下 [安裝] 直至安裝完畢,然後按一下 [啟動]。

手動安裝外掛:

  • 下載並解壓縮外掛壓縮檔。
  • 上傳 breeze 資料夾至 /wp-content/plugins/ 遠端主機目錄中。
  • 在 WordPress 控制台的 [外掛] 選單中啟用外掛。
  • 從 WordPress 管理後台→[設定]→[Breeze] 進行設定。

常見問題集

安裝指南

透過 WordPress 控制台安裝外掛:
1. 在 WordPress 管理後台的選單上,按一下 [外掛]→[安裝外掛]。
2. 以 Breeze 為關鍵字進行搜尋。
3. 搜尋到 Breeze 外掛後按一下 [安裝] 直至安裝完畢,然後按一下 [啟動]。

手動安裝外掛:
1. 下載並解壓縮外掛安裝套件 ZIP 壓縮檔。
2. 將解壓縮所得的 breeze 資料夾上傳至網站的 /wp-content/plugins/ 目錄中。
3. 透過 WordPress 控制台的 [外掛] 選單啟用外掛。
4. 從 WordPress 管理後台→[設定]→[Breeze] 進行設定。

Breeze 是否支援 Varnish?支援到哪個程度?

Breeze 預設支援 Varnish,且完全相容於 Cloudways 已預先安裝 Varnish 的伺服器。如果目前使用的主機並非由 Cloudways 所提供,建議向對應的主機代管服務提供商洽詢關於 Varnish 的支援。

Breeze 是否支援 WooCommerce?

Breeze 與 WooCommerce 完全相容,安裝啟用後即可開始執行,且無須進行任何特殊設定。

Breeze 是否支援 WordPress 多站網路功能?

Breeze 與 WordPress 多站網路功能完全相容,且無須進行任何額外設定。

Breeze 如何處理 WordPress 多站網路的快取?

Breeze 統一處理全部 WordPress 多站網路中全部網站的快取。全部針對多站網路的設定,均屬於多站網路管理員層級。

Breeze 是否與其他 WordPress 快取外掛相容?

我們並不建議在任何 WordPress 網站上同時使用兩個快取外掛。
我們強烈建議在網站上使用 Breeze,將它作為唯一的快取外掛。如果網站上使用了其他快取外掛,請確保在安裝 Breeze 前已將其停用。

Breeze 是否與 HTTPS 相容?

Breeze 無須任何特殊設定,便能同時處理 HTTP 與 HTTPS 頁面。

Breeze 是否與其他外掛有相容性問題?

Breeze 已與 WordPress.org 上知名的外掛進行過相容性測試,如有任何相容性問題,請在 WordPress 技術支援論壇或 Cloudways 社群論壇回報。

Breeze 是否支援 CDN?

Breeze 支援 CDN 整合,整合後便可由 CDN 處理它所產出的全部靜態檔案,如圖片、CSS 以及 JS 檔。

Breeze 的資料庫最佳化功能作用為何?

眾所周知,WordPress 資料庫儲存了文章版本以及垃圾留言等資訊。網站經營一段時間之後,資料庫便會變的臃腫龐大;定期清除資料庫中不需要的資訊,是減少資料庫大小及增進最佳化的最佳方式。

Breeze 的資料庫最佳化功能,能夠讓網站管理員一鍵清除全部不必要的資料。

啟用 Breeze 快取外掛後,網站上的留言及其他動態產生的內容會即時顯示嗎?

留言能否即時顯示,會依照網站管理員對留言系統的設定或稽核原則而定;而對動態內容所進行的變更,則必須進行完整的快取清除操作後才能顯示。

是否能從快取中排除個別檔案及頁面的網址?

Breeze 的設定提供了設定排除項目的欄位,透過提供檔案網址或檔案類型 (也就是檔案的副檔名) 便能從快取中加以排除。Breeze 不會對排除在外的項目進行快取。

Varnish 啟用後,伺服器管理員會需要在 Varnish 設定中將網址及檔案類型加以排除。如果 WordPress 網站代管於 Cloudways 提供的伺服器,請參閱這篇知識庫文章以了解如何從 Varnish 快取機制中排除特定網址內容。

Breeze 可以執行於各家主機服務提供商的主機嗎?

Breeze 在主要的主機服務提供商都進行過測試。此外,Breeze 的主要功能如 Gzip、瀏覽器快取、檔案最小化、資料庫最佳化及 CDN 整合,在全部主機均能正常執行。

在何處可以取得 Breeze 外掛的技術支援?

使用者可以在 WordPress 技術支援論壇上提出問題並得到回覆。如果是 Cloudways 的客戶,隨時可以在 Cloudways 社群論壇進行討論。

如何測試及驗證 Breeze 的快取效果?

網站管理員可以近乎即時的觀察到 Breeze 快取外掛對網站的加速效果,我們也建議使用下列工具產生指標報告藉以評估成效:
Google Page Speed
WebPagetest
Pingdom

Breeze 是否能與各款視覺化編輯器一起執行?

是的,Breeze 相容於各款視覺化編輯器。

Breeze 支援哪些熱門的 CDN?

Breeze 支援下列 3 個熱門的 CDN:
MaxCDN
KeyCDN
Amazon Cloudfront

Breeze 是否支援主動式 CDN?

否,Breeze 不支援主動式 CDN,但這個網站可以使用第三方外掛讓 Breeze 與主動式 CDN 同時執行。

Breeze 是否能與 Cloudflare 一起執行?

可以。要讓 Cloudflare 與 Breeze 一起執行的設定程序相當簡單,請參閱這份知識庫文章以取得詳細資訊。

Breeze 如何運用 Gzip 功能?

啟用 Gzip 功能後,Breeze 便能壓縮使用者請求的檔案、進一步減少下載檔案的大小,藉以加速以提昇使用者體驗。

使用者評論

2025 年 12 月 30 日 1 則留言
I always thought that after installing and uninstalling a plugin, all the leftovers would disappear, but this one doesn’t.
2025 年 9 月 25 日
As a Cloudways user, I have Breeze installed on all 10+ of my WordPress websites. I find it to be a very solid cache plugin. My oldest site was using WP Rocket instead. Recently switched that one to Breeze, too, and have no regrets. My belief is that the rating for this plugin is too low. Cache is difficult and can be confusing, that’s the nature of the beast.
2025 年 7 月 25 日
Finally, a performance plugin that actually does its job! This one, combined with an image converter to AVIF/WebP plugin, and your website will fly!
2025 年 6 月 21 日 1 則留言
This plugin doesn’t work correctly with WPML multicurrecy plugin. When I am loggen it the currecy switcher works fine. But if I’m not logged it then switcher doesen’t work. If I disable the plugin or use another caching plugin then switcher works fine.I asked the WPML support and they told that Breeze plugin is not compatible with WMPL multicurrency.I am not the only one there are several people with same issue and it seems it has been so at least 2 years. So the issue is know but hasen’t been fixed.
2025 年 3 月 20 日 1 則留言
I’ve been using it for several years and have had a great experience with it. It’s very simple to use and works better than other cache plugins I’ve used.
閱讀全部 126 則使用者評論

參與者及開發者

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

參與者

〈Breeze Cache〉外掛目前已有 10 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Breeze Cache〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.4.4

  • Fix: Resolved an issue where logged-in user caching would break after plugin upgrades due to missing role cookies.

2.4.3

  • Improvement: Fixed Cloudflare cache purge failing during WP-Cron when FPC_ENV environment variable is unavailable.
  • Compatibility: Added TranslatePress compatibility. Translated URL variants are now included when purging post cache.
  • New: Added breeze_collect_urls_for_cache_purge filter to modify the list of URLs before sending the purge request.
  • Fix: Fixed Varnish purge not using the default server address when no IP is configured.
  • Compatibility: Added compatibility with WooCommerce Multilingual & Multicurrency (WCML).
  • Improvement: Separate cache files are now generated per currency when WCML is active.
  • Improvement: Added currency-specific ETag headers to improve cache validation.
  • Compatibility: Improved compatibility with the FooEvents POS plugin.
  • Improvement: Handling of configuration file updates for better reliability and performance.
  • Improvement: Enhanced compatibility with WPML (WordPress Multilingual Plugin) to ensure smoother operation and better support for multilingual sites.
  • Fixed: Prevented JSON responses from being cached to ensure dynamic data is always returned correctly.
  • Improved: Enhanced Cloudflare cache purge handling with clearer response messages and improved feedback transparency.

See changelog for all versions