描述
Cache Master 是一款极其轻量级的高性能缓存插件,可在运行过程中加快 WordPress 网站的速度。Cache Master 的核心由 Shieldon Simple Cache(一个 PSR-16 简单缓存库)驱动。
在 GitHub 上开源:
- terrylinooo/simple-cache(简单缓存库)
- terrylinooo/cache-master (Cache Master插件)
首次发布日期2020 年 10 月 1 日
特色
- 重量极轻,性能卓越。
- 支持多达 10 种缓存驱动程序,如 File、Redis、Memcache、Memcached、APC、APCu、WinCache、MySQL、SQLite 和 MongoDB。
- 提供详细的缓存统计数据,易于管理。
- 与 WooCommerce 插件兼容。
- 以及更多…
注意:
在安装和使用本插件之前,请仔细阅读以下注意事项:
- 登录用户不会触发缓存程序。
- 调试信息将附加到页面源代码的末尾:
<!-- 此页面已被 Cache Master 插件缓存。//-->
。这仅用于调试目的,确认页面正在被缓存。可以在 “设置 “页面禁用此消息。
如果您在使用 Cache Master 时遇到网站问题,请在 GitHub 上报告问题,并列出您网站上安装的所有插件。我将对问题进行调查并提供修复方案。
翻译
日语 (ja_JP) by 本地。
屏幕截图
安装
- 将插件文件上传到 /wp-content/plugins/cache-master 目录,或直接通过 WordPress 插件屏幕安装插件。
- 通过 WordPress 的 “插件 “屏幕激活插件。
- 导航至 “插件 “部分的 “缓存管理器 “菜单,配置您的选项。
常见问题
-
我应该禁用其他缓存插件吗?
-
Cache Master 可将整个网页缓存为静态 HTML 文件。因此,建议禁用其他执行相同功能的类似缓存插件。不过,它可以与对象缓存插件同时运行,不会出现问题。
-
如何确定缓存是否有效?
-
请注意,已登录的用户不会触发缓存过程。要验证缓存,请使用隐姓埋名模式或其他浏览器重新访问同一网页,然后可以通过以下方式之一检查缓存状态:
- 查看网页的源代码并检查调试消息,如屏幕截图(L)所示。
- 在页脚部分启用基准信息,如屏幕截图(K)所示,您可以在其中查看缓存状态。
如果源代码中没有调试信息,或者缓存状态一直显示 “否”,则可能是插件与 Cache Master 发生冲突,导致其无法正常工作。
评价
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.
2023 年 2 月 8 日
Works fine
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.
2022 年 10 月 28 日
Thank you! and everybody should do the expert config addon.
2022 年 6 月 21 日
TNX
贡献者及开发者
更新日志
1.0.0 (10/01/2020)
- 首次在 WordPress 插件目录中发布。
1.2.0 (10/06/2020)
- 添加 “专家模式”。
1.2.1 (10/07/2020)
- 改进调试信息。
- 专家模式的新设置选项
- 如果用户使用的插件与 Cache Master 有冲突,则添加警告信息。
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)
- 添加功能 – 自动安装专家模式代码。(在以后的版本中已删除)
1.5.1 (10/17/2020)
- 添加设置页面 – 基准设置。
- 添加功能 – 在小部件或页脚区域显示基准信息。
- 修复一些小问题。
1.5.2 (10/17/2020)
- 在管理栏上添加清除缓存按钮。
2.0.0 (10/27/2020)
- 支持 WooCommerce 插件。
- 添加设置页面 – WooCommerce、排除、高级设置。
- 添加一个选项–HTML 调试注释。
- 改进缓存统计页面。
- 更新 zh_TW 和 zh_CN 的翻译字符串。
- 修复问题。
2.0.1 (10/27/2020)
- 在执行新安装后修复 SQLite 驱动程序错误。
2.0.3 (10/31/2020)
- 支持 WP-CLI
2.1.0 (11/15/2020)
- 添加选项 – 现在,你可以在 Redis、MongoDB 和 Memcaced 驱动程序中使用 unix 套接字或 TCP。
- 将核心库更新至 1.3.1
- 添加单元测试,并在发布新更新前运行测试。
- 修复问题。
2.1.1 (10/31/2021)
- 修复类型提示。
- 如果当前驱动程序不可用,驱动程序将退回到文件驱动程序。
- 测试至 PHP 8.0
- 测试至 WordPress 5.8.1
2.1.2 (8/28/2022)
- 修复会导致 PHP 8 致命错误的类型提示问题。
- 测试至 PHP 8.0
- 测试至 WordPress 6.0.1
- 修正编码风格,使其符合 WordPress 编码标准。
2.1.3 (5/29/2023)
- 测试至 PHP 8.2.5
- 测试至 WordPress 6.2.2
- 添加日语翻译。