Title: Sync Cache for SpinupWP and Perfmatters
Author: Reuhno
Published: <strong>2025 年 5 月 2 日</strong>
Last modified: 2026 年 1 月 21 日

---

搜索插件

![](https://ps.w.org/sync-cache-spinupwp-perfmatters/assets/banner-772x250.jpg?rev
=3286430)

![](https://ps.w.org/sync-cache-spinupwp-perfmatters/assets/icon-256x256.png?rev
=3286430)

# Sync Cache for SpinupWP and Perfmatters

 作者：[Reuhno](https://profiles.wordpress.org/laboiteare/)

[下载](https://downloads.wordpress.org/plugin/sync-cache-spinupwp-perfmatters.1.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/sync-cache-spinupwp-perfmatters/#description)
 * [评价](https://cn.wordpress.org/plugins/sync-cache-spinupwp-perfmatters/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/sync-cache-spinupwp-perfmatters/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/sync-cache-spinupwp-perfmatters/#developers)

 [支持](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/)

## 描述

This plugin automatically triggers the CSS/JS cache purge in Perfmatters when the
user clears the cache in SpinupWP — and vice versa.

## 安装

 1. Upload the plugin folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.

## 常见问题

### Do I need to configure anything?

No. Everything works automatically upon activation.

### How can I enable logging for debugging?

You can enable file logging by adding `define('SYNCSP_FILE_LOGGING', true);` to 
your wp-config.php. The log file will be created at wp-content/syncsp-debug.log 
by default.

Alternatively, you can log to a Discord channel by adding `define('SYNCSP_DISCORD_WEBHOOK','
your-webhook-url');` to your wp-config.php.

### Where are logs stored?

By default, logs are stored in wp-content/syncsp-debug.log. You can customize this
path by defining SYNCSP_LOG_FILE in your wp-config.php.

## 评价

![](https://secure.gravatar.com/avatar/b425893d15ed0d3e635cc37f9b4cae522465d8314690afd25f79ff4505fe590a?
s=60&d=retro&r=g)

### 󠀁[Excellent cache management plugin](https://wordpress.org/support/topic/excellent-cache-management-plugin/)󠁿

 [chandelz](https://profiles.wordpress.org/chandelz/) 2025 年 5 月 20 日

If you’re using SpinupWP and Perfmatters, this plugin is a perfect addition to your
stack. Highly recommended for developers and performance-focused site owners.

![](https://secure.gravatar.com/avatar/d242f884f5db6398733856e91c99b9c1b16a3bfb510f4c89e10ea3d73ec98049?
s=60&d=retro&r=g)

### 󠀁[Works perfectly!](https://wordpress.org/support/topic/works-perfectly-2855/)󠁿

 [pierrr](https://profiles.wordpress.org/pierrr/) 2025 年 5 月 20 日

Thanks to the developer!

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/reviews/)

## 贡献者及开发者

「Sync Cache for SpinupWP and Perfmatters」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Reuhno ](https://profiles.wordpress.org/laboiteare/)

「Sync Cache for SpinupWP and Perfmatters」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/sync-cache-spinupwp-perfmatters/contributors)
为本插件所做的贡献。

[帮助将「Sync Cache for SpinupWP and Perfmatters」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sync-cache-spinupwp-perfmatters)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/sync-cache-spinupwp-perfmatters/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/sync-cache-spinupwp-perfmatters/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/sync-cache-spinupwp-perfmatters/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/sync-cache-spinupwp-perfmatters/)。

## 更新日志

#### 1.1.3

 * Compatibility check with WordPress 6.9 and Perfmatters 2.5.5

#### 1.1.2

 * Bug fix: handling Perfmatters ajax nonce

#### 1.1.1

 * Improve handling Perfmatters nonce
 * Add internationalization to logging messages

#### 1.1.0

 * Complete rewrite with object-oriented architecture
 * Added advanced logging system with file and Discord webhook support
 * Better error handling and prevention of infinite recursion
 * Improved debugging with detailed timestamps and log levels

#### 1.0.4

 * Update cache sync functions for granular control
 * Refactor cache purge handlers to support specific posts and URLs. Introduce distinct
   functions for full, post-specific, and URL-specific cache clearing, ensuring 
   better integration with Perfmatters and SpinupWP actions.

#### 1.0.3

 * Adding 2 missed perfmatters actions to listen
 * Rewriting of the perfmatters add_action() section for greater completeness

#### 1.0.2

 * Changing the PHP and WP version requirements to a lower value

#### 1.0.1

 * Text Domain: sync-cache-spinupwp-perfmatters

#### 1.0.0

 * First public release.

## 额外信息

 *  版本 **1.1.3**
 *  最后更新：**5 月前**
 *  活跃安装数量 **400+**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/sync-cache-spinupwp-perfmatters/)
   和 [French (France)](https://fr.wordpress.org/plugins/sync-cache-spinupwp-perfmatters/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/sync-cache-spinupwp-perfmatters)
 * 标签
 * [cache](https://cn.wordpress.org/plugins/tags/cache/)
 *  [高级视图](https://cn.wordpress.org/plugins/sync-cache-spinupwp-perfmatters/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/reviews/)

## 贡献者

 *   [ Reuhno ](https://profiles.wordpress.org/laboiteare/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/sync-cache-spinupwp-perfmatters/)