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

Cache Master

外掛說明

Cache Master is an extremely lightweight, high-performance cache plugin that speeds up your WordPress sites on the fly. The core of Cache Master is driven by Shieldon Simple Cache, a PSR-16 simple cache library.

開放原始碼於 GitHub:

首發日期:2020年10月1日。

特色

  • Extremely lightweight and high-performance.
  • Support up to 10 cache drivers such as File, Redis, Memcache, Memcached, APC, APCu, WinCache, MySQL, SQLite, and MongoDB.
  • Provide detailed cache statistics, easy to manage.
  • Compatible with the WooCommerce plugin.
  • And more…

提醒:

Before you install and use this plugin, please read the following notices carefully:

  • Logged-in users will not trigger the caching process.
  • A debug message will be appended to the end of the page’s source code: <!-- This page is cached by the Cache Master plugin. //-->. This is intended for debugging purposes only, confirming that the page is being cached. This message can be disabled in the Settings page.

If you encounter issues with your website when using Cache Master, please report the problem on GitHub and list all plugins installed on your website. I’ll investigate the problem and provide a fix.

Translation

Japanese (ja_JP) by Colocal.

螢幕擷圖

  • Setting page – Basic.
  • Setting page – Basic (Bottom).
  • Setting page – Advanced.
  • Setting page – Perferences.
  • Setting page – Benchmark.
  • Setting page – WooCommerce.
  • Setting page – Exclusion.
  • Setting page – Expert mode.
  • Setting page – Cache statistics.
  • Setting page – About author.
  • Front page – Benchmark (footer text)
  • 偵錯訊息(一般模式)
  • 偵錯訊息(專家模式)

安裝方式

  • Upload the plugin files to the /wp-content/plugins/cache-master directory, or install the plugin directly through the WordPress plugins screen.
  • Activate the plugin via the ‘Plugins’ screen in WordPress.
  • Navigate to the Cache Master menu in the Plugins section and configure your options.

常見問題集

Should I disable other cache plugins?

Cache Master caches entire webpages into static HTML files. Therefore, it is recommended to disable other similar cache plugins that perform the same function. However, it can function alongside object cache plugins without issue.

How can I determine whether the caching is working or not?

Be aware that logged-in users will not trigger the caching process. To verify caching, use incognito mode or a different browser to revisit the same webpage, and then you can check the cache status in one of the following ways:

  • View the source code of the webpage and check the debug message as shown in screenshot (L).
  • Enable the benchmark information in the footer section as shown in screenshot (K), where you can see the cache status.

If there is no debug message in the source code, or if the cache status consistently displays ‘No’, there might be a plugin conflict with Cache Master that prevents it from working correctly.

使用者評論

2023 年 2 月 18 日
Only used very briefly so far, but, first impressions = Excellent! It’s the only cache plugin I found that works well with Wincache/IIS/Windows. It’s very clean and simple. The widget is useful, as are the statistics if you enable them. Does exactly what I want. The only thing I wish it would have as a really nice addon, is a way to pre-load the cache by visiting each post/page, though I can sort that externally. Not of failure of this plugin, but, it breaks the ‘simple download monitor’ download links for all files on my site. There is, due to the design of this plugin, an easy fix (though it errored on my site with a ‘needle’ not found or similar first time!). Enable ‘Exclusions’ and add ‘download_id’ to the excluded $_GET variables. Clear your cache, and downloads should work again. This is because download links are simply sent to the home page with the get variable. Probably a dumb way to do it, but…
2023 年 2 月 8 日
If you use this right and read the instructions – none the better for its purpose. Combine it with Autoptimze and you’re good to go.
2022 年 11 月 2 日
Fantastic plugins, can use all cache with easy setting and configuration, thank you very much to the develloper and for let it free ! Best regards to you Terry Lin, very great work.
閱讀全部 17 則使用者評論

參與者及開發者

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

參與者

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

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

對開發相關資訊感興趣?

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

變更記錄

1.0.0 (10/01/2020)

  • 第一次釋出於 WordPress 外掛目錄。

1.2.0 (10/06/2020)

  • 加入「專家模式」。

1.2.1 (10/07/2020)

  • 改善偵錯訊息。
  • 新的設定選項於專家模式。
  • 加入警告訊息,如果使用者用了和快取大師有衝突的外掛。

1.2.2 (10/07/2020)

  • 改善偵錯訊息 – 加入 SQL 查詢次數。

= 1.3.0 (10/08/2020)

  • 加入設定選項 – 針對已登入使用者的快取的可見度。
  • 加入設定選項 – 庫存頁面:分類、標籤、日期及作者。
  • 加入設定選項 – 首頁。
  • 修正一些小問題。

1.4.0 (10/09/2020)

  • 增加設定頁面 – 快取統計。
  • 改善程式碼 – 防止與其它外掛衝突。

1.4.1 (10/16/2020)

  • Add feature – Automatic installation of Expert Mode code. (Removed in later versions)

1.5.1 (10/17/2020)

  • 新增設定頁面 – 基準分析設定。
  • 新增特色 – 基準分析資訊置於小工具或底部區域。
  • 修正一些小問題。

1.5.2 (10/17/2020)

  • Add a Clear Cache button on admin bar.

2.0.0 (10/27/2020)

  • Support to WooCommerce plugin.
  • Add setting pages – WooCommerce, Exclusion, Advanced settings.
  • Add an option – HTML debug comment.
  • Improve cache statistic page.
  • Update translation strings for zh_TW, zh_CN.
  • Fix issues.

2.0.1 (10/27/2020)

  • Fix SQLite driver error after performing a new installation.

2.0.3 (10/31/2020)

  • Support to WP-CLI

2.1.0 (11/15/2020)

  • Add options – Now, you can use unix socket or TCP in Redis, MongoDB and Memcaced Drivers.
  • Update core library to 1.3.1
  • Add unit tests and run the tests before releasing new updates.
  • Fix issues.

2.1.1 (10/31/2021)

  • Fix type hint.
  • Driver will fall back to File driver if current driver is unavailable.
  • Test up to PHP 8.0
  • Test up to WordPress 5.8.1

2.1.2 (8/28/2022)

  • Fix a type hint issue that occurs a PHP 8 fatal error.
  • Test up to PHP 8.0
  • Test up to WordPress 6.0.1
  • Fix coding style to fit the WordPress coding standard.

2.1.3 (5/29/2023)

  • Test up to PHP 8.2.5
  • Test up to WordPress 6.2.2
  • Add Japanese translation.