這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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