该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Simple Cache Killer

描述

** For Multisite/Network Users **

I wrote this plugin because of several situations I’ve run in to running a multisite network where I’ll want to include
caching for WordPress sites in most cases, but might need to exclude one of the sites on the network from that caching.

By activating this plugin and checking the different caching options, requests to that sites pages/posts can be instructed
not to cache site content without disrupting the caching strategy in place for other sites.

** For single site installations **

This plugin will still be useful for single site installations where the site administrator may not have access to the web server
to specify the types of HTTP caching headers that are returned on each request. By allowing you to specify and rewrite the HTTP caching
headers at the site level, you’ll no longer need access to the web server in order to make sure visitors are always served fresh
content.

Bug Reports or Feature Requests
https://trello.com/b/zLViVgjx

Follow me on Twitter
https://twitter.com/jcummings1974

安装

This plugin was built specifically for multisite networks, but should work on any WordPress site. The obvious benefit though, will be when you’re hosting multiple WordPress sites from a single installation/server and need to adjust the caching instructions sent by just one site.

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit the SCK Settings section of your settings menu to set the types of instructions you want to use.

常见问题

What types of caching instructions does this plugin support?

There are two sections of the settings screen, an HTML META tag section, and an HTTP Headers section.

Once activated, you can choose to include the following instructions in your request responses:

  1. META HTTP-EQUIV=”PRAGMA” CONTENT=”NO-CACHE”
  2. META HTTP-EQUIV=”CACHE-CONTROL” CONTENT=”NO-CACHE”
  3. Pragma: no-cache (HTTP header)
  4. Cache-Conrol: no-cache, no-store, must-revalidate (HTTP header)
  5. Expires: 0 (HTTP header)
Which type should I use?

The different caching options are provided individually in the event that you run in to problems with one
specific type of caching, but for the most predictable results, turn them all on.

评价

此插件暂无评价。

贡献者及开发者

“Simple Cache Killer” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Simple Cache Killer”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.2

  • WordPress 4.0 Compatibility release

1.0.1

  • Minor bug fixes.
  • Improved instructions in the WordPress admin.
  • Inclusion of reference information outlining the different types of caching supported.

1.0

  • Initial release