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

Cache Purge Helper

外掛說明

This plugin will trigger a cache purge using the LSCache or Nginx Helper plugin when hooks are fired by popular plugins or themes.

  • If using the LSCache plugin, Litespeed Enterprise or Openlightspeed is required to purge server cache.
  • If using the Nginx Helper plugin, Nginx cache method FastCGI or Nginx Redi Cache is required to purge server cache.

The following themes and plugins hooks are used.

WordPress Core Hooks

  • upgrader_process_complete
  • activated_plugin
  • deactivated_plugin
  • switch_theme

Beaver Builder Plugin

  • fl_builder_cache_cleared
  • fl_builder_after_save_layout
  • fl_builder_after_save_user_template
  • upgrader_process_complete

Elementor Plugin

  • elementor/core/files/clear_cache
  • update_option__elementor_global_css
  • delete_option__elementor_global_css

Autoptimizer Plugin

  • delete_option__elementor_global_css

Oxygen Theme

  • wp_ajax_oxygen_vsb_cache_generated
  • update_option__oxygen_vsb_universal_css_url
  • update_option__oxygen_vsb_css_files_state

安裝方式

Automatic Installation

  1. Log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.
  2. In the search field type “Cache Purge Helper” and click Search Plugins.
  3. From the search results, pick “Cache Purge Helper” and click Install Now. WordPress will ask you to confirm to complete the installation.

Manual Installation

  1. Extract the zip file.
  2. Upload them to /wp-content/plugins/ directory on your WordPress installation.
  3. Then activate the Plugin from Plugins page.

Enabling Debug Mode

Simply add define('CPHP_DEBUG',true); to your wp-config.php to see debug messages in your PHP error_log

常見問題集

Why did you create this plugin?

There are a number of plugins and themes that change data in a WordPress instance which results in broken visuals and require a manual cache purge. This plugin makes sure that those instances will purge your sites cache.

What other caching solutions do you support?

None. Submit a issue on Github https://github.com/jordantrizz/cache-purge-helper/issues

使用者評論

閱讀全部 2 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

0.1.3

  • Github actions to automate pushing to SVN

0.1.2

  • Release to be sent to WordPress Plugin Directory

0.1.1

  • Preparing to be added to the WordPress Plugin Directory