وەسف
This plugin automatically triggers the CSS/JS cache purge in Perfmatters when the user clears the cache in SpinupWP — and vice versa.
دامەزراندن
- Upload the plugin folder to the
/wp-content/plugins/directory. - 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.
پێداچوونەوەکان
بەشداربووان و گەشەپێدەران
“Sync Cache for SpinupWP and Perfmatters” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.
بەشداربووان“Sync Cache for SpinupWP and Perfmatters” وەرگێڕدراوە بۆ 1 زمان. سوپاسی وەرگێڕەکان دەکەین بۆ بەشداریکردنیان.
“Sync Cache for SpinupWP and Perfmatters” وەربگێڕە بۆ زمانەکەی خۆت.
دەتەوێت بەشداربیت لە گەشەپێدان؟
گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).
ڕووداوتۆمارگەریی گۆڕین
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.
