外掛說明
Breeze 由 Cloudways 團隊所開發,是個輕巧、功能強大且方便使用的 WordPress 快取外掛。它提供了各種設定來為不同層級的 WordPress 效能進行最佳化,且同時適用於 WordPress、WooCommerce 及多站網路。
Breeze 在以下幾個方面表現優異:
-
效能:Breeze 除了能改進網站速度及主機資源最佳化外,還包含了檔案層級快取系統、資料庫清理、最小化、支援 Varnish 快取及簡化 CDN 整合設定等功能。
-
便利:在 WordPress 網站中,直接安裝及設定 Breeze 相當容易。設定 Breeze 相當簡單,且按照預設值便能在多數的環境中運作良好。建議設定應該能在全部 WordPress 網站上無痕般的運作。
-
簡單:Breeze 設計成要讓全部使用者都能輕鬆上手。僅需安裝並啟用這個外掛,便能立刻體驗到絕佳的效果。
Breeze 內建 Varnish 支援是它成為表現優異的 WordPress 快取外掛的主要原因。如果你的主機並未安裝 Varnish,Breeze 依舊能透過內部快取機制,大幅提昇 WordPress 網站的效能。
技術支援:我們樂於提供技術支援,請在前往 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. 下載並解壓縮外掛壓縮檔。
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 便能壓縮使用者請求的檔案、進一步減少下載檔案的大小,藉以加速以提昇使用者體驗。
使用者評論
參與者及開發者
變更記錄
2.0.23
- Add: Smart Cache Purge Configuration for Cloudflare is now available for Flexible Platform for Cloudways users.
- Add: Environment detection is now available for Cloudways users to automatically detect the platform, e.g., Flexible or Autoscale.
- Add: Filters are added to interact with the content buffer before cache files are created. Use a filter called “breeze_cache_buffer_before_processing” to interact with buffer content before performing any changes and “breeze_cache_buffer_after_processing” after markup changes are finished.
= 2.0.22=
- Fix: Issues with Lazy Load and Cross-origin have been fixed by rewriting the engine to avoid interfering with bad markup.
= 2.0.21=
- Add: Moved the Cloudflare Cache option to Purge Modules for Cloudways users only.
- Add: Purge Varnish option will not be shown if varnish header not available.
= 2.0.20=
- Fix: Fatal error displayed while editing WooCommerce attributes and other entities.
= 2.0.19=
- Fix: Purge All Cache permalink for WordPress subdirectory installations.
= 2.0.18=
- Add: Integrated Cloudflare Cache in Breeze for Cloudways users only.
- Add: s-maxage in cache-control of Response Headers.
- Fix: Stopped purging the OCP cache while cache purging from Breeze.
- Fix: Improved compatibility of Breeze with Woodmart theme.
- Fix: Improved compatibility of Breeze with Buddyboss theme.
- Fix: Preserving declared media for styles on combine CSS.
= 2.0.17=
- Fix: P-Tag will not be added when Lazy Load Images and Cross-Origin Safe Links are enabled.
= 2.0.16=
- Fix: Ninja Forms now works when Lazy Load Images and Cross-Origin Safe Links are enabled.
- Fix: All types of Google Tag Manager scripts will work with the “Delay JS Inline Scripts” option.
- Add: “Reset Now” option has been added for default settings. It can also operate with WP-CLI.
- Add: Enabled “Combine JS” option will disable “Delay JS Inline Script” or “Delay All JavaScript” and vice versa.
= 2.0.15=
- Add: Internal cache Purge while changing Theme.
- Add: Internal cache Purge while using the options WP Customizer.
- Fix: Improvise handling of Optimize Database option under the Database Options Tab by adding a message and loading bar.
- Fix: Improvise the handling of the Request header while Varnish proxy behind and re-download necessary.
= 2.0.14=
- Fix: Applied condition to look new Facebook feed link in the plugin Facebook for WooCommerce.
= 2.0.13=
- Fix: DOMDocument class was removed while enabling the options Lazy Load Images and Cross-origin Safe Links.
= 2.0.12=
- Fix: Synchronized the reset cache option of the Avada theme with Breeze.
= 2.0.11=
- Add: Scanning of CDN URL to verify it is not malicious in the CDN.
- Fix: Improvised process of generating JS files from PHP files.
- Fix: Improvised handling of multi-byte characters, languages, symbols such as Unicode icons, etc.
- Fix: Improvised the functionality of the Defer option while using an external JS file.
- Fix: Enhanced the compatibility with Weglot Translate.
= 2.0.10=
- Add: More options added in the Database option tab.
- Add: Display Autoload summary with Autoload total size as well as Autoload count.
- Fix: Enhance the functionality of the options Combine CSS and Inline CSS while CSS is generated by Elementor.
- Fix: Overwrite the TimeZone To UTC being sent out in ticket/order confirmations of The Events Calendar plugin.
= 2.0.9=
- Fix: Added nonce check to import settings ajax request, in order to improve security and prevent cross-site requests.
= 2.0.8=
- Fix: Enhance compatibility with the Pickingpal plugin to load the orders.
- Fix: Remove duplication header calls in Varnish requests.
- Fix: Invalid Certificate never accepted and its default value is TRUE now.
- Add: Include the option to Clear Object Cache.
2.0.7
- Fix: In some cases call to undefined function is_plugin_active() shows, it is fixed now by replacing it with a check for class_exist in CURCY and WOOCS plugins.
2.0.6
- Fix: Overwrites the TimeZone To UTC of The Events Calendar plugin.
- Fix: currency menu is cached with HTML, changing it with the currency is difficult in CURCY and WOOCS plugins.
- Fix: Preloading links that do not have “href“ attribute or the “href“ attribute contains the value “#” was displaying errors in the console log.
- Fix: Some inline javascript files were not displayed when the option “JS Files With Deferred Loading” had at least one value-added breaking functionality for other JavaScript scripts.
2.0.5
- Add: UI improvement to provide better accessibility and user experience.
2.0.4
- Add: Improve page load by delaying JavaScript execution. Delay JS is disabled by default for new installations.
- Fix: Added JavaScript checks to see if the sortable library is loaded or not, if not then the JS code that requires the library will not execute.
- Fix: Undefined variable in Breeze minification scripts.
2.0.3
- Fix:All ajax actions are now restricted to the users that have manage_options capabilities. Vulnerability discovered from patchstack team.
- Fix: Administrator has only capable to handle manage_options by default.
- Fix: Added restriction to option-tabs-loader.php, if the user does not have manage_options capability, then the tabs will not load.
2.0.2
- Fix: Atarim – Client Interface Plugin conflict with UI of Breeze in the admin area.
- Add: Make LazyLoad for iframes compatible
- Add: Control WordPress Heartbeat API. Users can disable it, independently on the admin, post editor page, and frontend.
- Add: DNS prefetch on pages.
- Add: Improve the handling of warning message while permission is not correct.
2.0.1
- Fix: Improved handling of minification in Never Cache URL(s) option.
2.0.0
- Add: Implement a new UI interface.
- Fix: Duplicate script while using the option Move JS Files to Footer.
- Fix: Improvise the optimization of WordPress core functions to clean the database correctly.
- Fix: Implement condition in .htaccess rules while disable “mod_env”.
- Fix: Compatibility issue with Facebook For WooCommerce plugin.
1.2.6
- Add: Varnish cache will be clear while plugin deactivate.
- Add: Enable cache for specific user role.
- Add: Disable Emojis to reduce request
- Add: Delete breeze options values from database on plugin deletion.
- Fix: Compatibility issue of map short codes with GeoDirectory plugin.
- Fix: Compatibility issue with Ad Inserter plugin.
- Fix: Compatibility issue of minification with Beaver Builder Plugin.
- Fix: Compatibility issue of JS scripts with AMP Plugin.
- Fix: Reduce cookie life time span while user posts a comment.
- Fix: HTML elements filtered from RestAPI end point of lazy-load scripts.
- Fix: Config file of each subsite save with appropriate ID in advance cache file.
- Fix: Google Analytics script exclude from Minification.
1.2.5
- Add: URLs containing query strings will not be cached by default.
- Add: Ignore specific query strings while serving the cache to improve performance.
- Add: Ability to cache URLs with specific query strings variables.
- Add: Cache handling of URLs having multiple parameters in one query string.
- Add: Exceptional Cache handling for case where permalink is set to PLAIN, which includes links for POST, PAGES, ATTACHMENTS, CATEGORIES, ARCHIVES.
1.2.4
- Add: Functionality to clear ALL cache via Command Line Interface (wp-cli).
- Add: Functionality to clear Varnish cache via Command Line Interface (wp-cli).
- Add: Functionality to clear Internal cache via Command Line Interface (wp-cli).
- Add: While the file Permission is not correct, the warning message has been added.
- Fix: Compatibility with Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd.
- Fix: improve the handling of warning undefine array key of delay JS script while enable debug mode.
1.2.3
- Add: Addition in Media assets rules for browser cacheable objects.
- Add: Addition in Font assets rules for browser cacheable object.
- Add: Addition in Data interchange rules for browser cacheable objects.
- Add: Addition in Manifest files rules for browser cacheable object.
- Add: Addition in Gzip compression rules.
- Fix: Improvise the handling of the Request header while the varnish is disable
- Fix: Improvise the condition of Option “Enable cache for logged-in users”
1.2.2
- Add: Export settings via Command Line Interface (wp-cli).
- Add: Import settings via Command Line Interface(wp-cli).
1.2.1
- Fix: improve the handling of warning undefine index of lazy load image while enable debug mode.
- Add: Enable/Disable option of Delay JS inline scripts.
1.2.0
- Add: “noreferrer noopener” attributes tag on external links when process HTML for caching.
- Add: Preload fonts allow to text remain visible during webfont load.
- Add: Preload key request of fonts OR CSS file which load fonts from local resource.
- Add: Preload links allow to enable preload next page of application.
- Add: lazy load display images on a page only when they are visible to the user.
- Add: Minimize the impact of third-party code.
1.1.11
- Fix: Improved handling of forms using nonce in Permalinks and Options pages.
1.1.10
- Fix: Apply deferred loading at individual file.
- Fix: exclude feed url generated by plugin “Facebook for WooCommerce”.
- Fix: purge site cache in subfolder.
- Fix: Inventory stock now updated at the Cart page.
- Fix: Improved Support for the new version of the WooCommerce Booking Calendar plugin.
- Add: Compatible with EDD and cartflow plugins.
- Add: pages include shortcode has been exclude by Breeze.
1.1.9
Add: Improved handling of minification for Query stirng based exclusion in Never Cache These URLs option.
Add: Increase compatibility with Multilingual .
1.1.8
- Fix: Cache refresh issue when Varnish is disabled.
- Fix: Replaced functions deprecated in WordPress 5.5 that were causing warning messages.
- Fix: Replaced deprecated minification libraries to improve compatibility with PHP 7.x onward.
- Fix: resolved the warning generated by the Query Monitor plugin.
- Add: compatibility with PHP 7.4
1.1.7
- Fix: Add HTTP and HTTPS for validation of CDN integration.
- Fix: Custom settings for multisite will be reapplied after Breeze reactivation.
- Fix: General improvements to improve support for the WooCommerce Booking Calendar plugin.
- Fix: Improved handling of minification for Wildcard based exclusion in Never Cache These URLs option.
1.1.6
- Add: Wildcard (.*) based exclusion of pattern URL strings in Never Cache These URLs option.
- Fix: Improved validation for CDN integration.
- Fix: General improvements to support for Elementor Forms/Elementor Pro and CDN integration.
1.1.5
- Fix: Revised duration for browser cacheable objects
1.1.4
- Fix: PHP Fatal error while running commands through WP_CLI
1.1.3
- Fix: Undefine error for inline JS when JS Group file is enabled.
- Fix: Several files displayed when Group Files was enabled.
- Fix: Varnish auto purge slowed down admin area while varnish is not running.
- Fix: PDF files are not downloadable with CDN enabled.
- Fix: miscellaneous UI issues.
- Add: The Google Analytics script/tag is now excluded form Minification.
- Add: Option to enable cache for admin user.
- Add: Handling of 404 error of JS/CSS/HTML when cache files are not writeable.
- Add: Exclude @import directive from CSS Minification.
1.1.2
- Fix: Improved handling of exclusion of CSS and JS while Minification and Group Files options are enabled.
- Fix: Allow wildcard (.*) based exclusion of pattern files/URIs in exclude JS and exclude CSS fields.
- Fix: Increase the duration for leverage browser cacheable objects
1.1.1
- Fix: Removed the use of remote JS. Now uses built-in version of jQuery Libraries.
1.1.0
- Add: Optional separate cache settings for subsites.
1.0.13
- Fix: Validation of nonce.
- Fix: Remove duplication of calls in Varnish purge requests.
1.0.12
- Fix: Deprecated create_function
1.0.11
- Fix: Change wp_redirect to wp_safe_redirect to fix redirect vulnerability of URL
1.0.10
- Add: Allow Purge Cache for Editors role.
1.0.9
- Add: Option to move JS file to footer during minification
- Add: Option to deffer loading for JS files
- Add: Option to include inline CSS
- Add: Option to include inline JS
1.0.8
- Fix: Cache exclusion for pages that returns status code other than 200
1.0.7
- Fix: Grouping and Minification issues for PHP 7.1
- Fix: Cache purge after version update issue
- Fix: Increase in cache file size issue.
- Fix: Server not found error notification
- Fix: Default WP comments display not require cache purge
1.0.6
- Fix: All Multisite are now handled globally with settings being handled at network level
1.0.5
- Fix: Issue with JS minification
1.0.4
- Fix: Browser Cache issues with WooCommerce session
- Fix: Clearing Breeze rules from .htaccess upon deactivating of GZIP/Broswer Cache
- Fix: Regex fix for accepting source url’s without quotes while enabling minifcation
- Add: FAQ section added
1.0.3-beta
- Fix : Disabled browser cache for WooCommerce cart, shop and account pages
- Fix : Removal of htaccess when disabling browser cache and gzip compression options
- Fix : CDN issues of not serving all the configured contents from CDN service
1.0.2-beta
- Fix : Compatibility issues of WooCommerce
1.0.1-beta
- Fix : Purging issue to allow only admin users to Purge
- Add : Feedback link
1.0.0
- Add : First Beta release