Title: Cacheability
Author: Danila Vershinin
Published: <strong>2022 年 4 月 8 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

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

![](https://ps.w.org/cacheability/assets/icon-256x256.png?rev=2707233)

# Cacheability

 作者：[Danila Vershinin](https://profiles.wordpress.org/dvershinin/)

[下载](https://downloads.wordpress.org/plugin/cacheability.2.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/cacheability/#description)
 * [评价](https://cn.wordpress.org/plugins/cacheability/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/cacheability/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/cacheability/#developers)

 [支持](https://wordpress.org/support/plugin/cacheability/)

## 描述

Cacheability makes your WordPress site a better HTTP citizen, improving SEO and 
cache efficiency.

#### Free Features

**Soft 404 Fix**

WordPress returns HTTP 200 for empty search results, invalid tag pages, and empty
category archives. Google marks these as “soft 404” errors in Search Console, hurting
your SEO.

Cacheability fixes this by returning proper 404 status codes when:

 * Search results are empty (`/?s=nonexistent`)
 * Tag archives are empty (`/tag/nonexistent/`)
 * Category archives are empty
 * Author archives are empty

**Smart Cache-Control Headers**

Automatically adds `s-maxage` headers so Varnish, NGINX, and CDNs can cache your
pages efficiently without affecting browser caching behavior.

 * Search/404 pages: 1 hour cache
 * All other pages: 1 year cache (your purge plugin handles invalidation)

#### Cacheability Pro

Upgrade to [Cacheability Pro](https://www.getpagespeed.com/web-apps/cacheability-pro)
for advanced features:

 * **Cache Warming** — Automatically warm pages after purging so visitors never 
   hit cold cache
 * **Conditional GET (304)** — Return 304 Not Modified for unchanged content, saving
   bandwidth
 * **ESI Support** — Cache pages with dynamic nonces (comments, login forms)
 * **Rate-Limit Safe** — Smart request queuing to avoid 429 errors
 * **Sitemap Warming** — Warm all pages from sitemap after full purge
 * **WP-CLI Commands** — `wp cacheability warm` and more
 * **Priority Support** — Get help when you need it

[Get Cacheability Pro ](https://www.getpagespeed.com/web-apps/cacheability-pro)

## 安装

 1. Upload to `/wp-content/plugins/cacheability/`
 2. Activate the plugin through the ‘Plugins’ menu
 3. That’s it! No configuration needed.

The plugin works automatically. You can view the settings page under Settings  Cacheability.

## 常见问题

### Is it compatible with caching plugins?

Yes! Cacheability works alongside any caching solution including WP Super Cache,
W3 Total Cache, WP Rocket, Varnish, NGINX FastCGI cache, and CDNs like Cloudflare.

### Does it slow down my site?

No. Cacheability adds minimal overhead — it just sets proper HTTP headers and status
codes.

### What’s the difference between free and Pro?

The free version fixes soft 404s and adds cache headers. Pro adds cache warming (
automatically re-caches pages after purging), conditional GET responses (304), and
ESI support for dynamic content.

### Do I need Varnish HTTP Purge plugin?

For the free version, no. For Cacheability Pro’s cache warming feature, we recommend
[Varnish HTTP Purge](https://wordpress.org/plugins/varnish-http-purge/) or similar
purge plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Cacheability」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Danila Vershinin ](https://profiles.wordpress.org/dvershinin/)

[帮助将「Cacheability」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/cacheability)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/cacheability/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/cacheability/)，或通过[RSS](https://plugins.trac.wordpress.org/log/cacheability/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/cacheability/)。

## 更新日志

#### 2.1.0

 * New: Prevents Google’s “Soft 404” indexing flag on tag/category archives that
   don’t currently have posts assigned, and on search-results pages.

#### 2.0.1

 * Fixed duplicate Cache-Control headers when another plugin sets headers via PHP
   header() function

#### 2.0.0

 * Major update: Streamlined free version
 * Cache warming, conditional GET, and ESI moved to Cacheability Pro
 * Added settings page with Pro feature overview
 * Improved soft 404 detection (now includes category and author archives)
 * Code modernization and cleanup

#### 1.1.7

 * Fixed a PHP notice when used together with older versions of Varnish HTTP Purge
   plugin and WP-Rocket integrations

#### 1.1.6

 * Fixed a PHP fatal error when used together with older versions of Varnish HTTP
   Purge plugin and WP-Rocket integrations

#### 1.1.3

 * Fixed some PHP warnings

#### 1.1.0

 * Added cache warmup feature for updated content

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **2.1.0**
 *  最后更新：**3 周前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/cacheability/)
 * 标签
 * [404](https://cn.wordpress.org/plugins/tags/404/)[cache](https://cn.wordpress.org/plugins/tags/cache/)
   [performance](https://cn.wordpress.org/plugins/tags/performance/)[seo](https://cn.wordpress.org/plugins/tags/seo/)
   [varnish](https://cn.wordpress.org/plugins/tags/varnish/)
 *  [高级视图](https://cn.wordpress.org/plugins/cacheability/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/cacheability/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/cacheability/reviews/)

## 贡献者

 *   [ Danila Vershinin ](https://profiles.wordpress.org/dvershinin/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/cacheability/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.buymeacoffee.com/dvershinin)