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

Flush Opcache with Varnish

外掛說明

Flush Opcache with Varnish automatically flushes the PHP Opcache when one of the “Empty Cache” buttons that Mika Epstein’s excellent Varnish HTTP Cache creates are clicked.

If the WP Opcache plugin is installed it is used to flush the opcache to let the opcache be re-warmed according to your WP Opcache settings, (and you can turn off WP Opcache’s “Flush PHP Opcache” button from the Admin toolbar).

If WP Super Cache is installed then the WP Super Cache cache will be cleared as well.

Support

Please request support in this plugin’s support forum on wordpress.org. This way there is a public record of solutions that work for people.

Contributing

Please submit issues and Pull Requests to the Github repository.

安裝方式

This section describes how to install the plugin and get it working.

  1. Install Flush Opcache with Varnish from the WordPress plugin repository
  2. Activate the plugin through the ‘Plugins’ menu in WordPress, (or just click the “Activate” button after installing).
  3. That’s it. There are no settings or anything. If the plugin is active it flushes the opcache when an “Empty Cache” button is clicked.

常見問題集

Does the _Varnish HTTP Cache_ plugin Need to be installed to use this plugin?

Either Varnish HTTP Cache or a plugin that’s based on in, and doesn’t change much, needs to be installed.

Does the _WP Opcache_ plugin need to be installed to use this plugin?

No.

If WP Opcache is installed it will handle the actual flushing.

Does the _WP Super Cache_ plugin need to be installed to use this plugin?

No.

If WP Super Cache is instlled and active its cache will be cleared in addition to the Varnish and Opcode caches.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Flush Opcache with Varnish〉的開發相關工作。

參與者

將〈Flush Opcache with Varnish〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.2

  • Released January 13, 2018
  • Updated Readme files to correct display issues.

1.1.1

  • Version Number Skipped.

1.1

  • Released January 11, 2018
  • Added clearing the WP Super Cache cache, if it exists.

1.0

  • First release version of Flush Opcache with Varnish.