该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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.