Title: Vendi Cache
Author: cjhaas
Published: <strong>2016 年 10 月 24 日</strong>
Last modified: 2017 年 1 月 3 日

---

搜索插件

![](https://ps.w.org/vendi-cache/assets/banner-772x250.jpg?rev=1529164)

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

![](https://ps.w.org/vendi-cache/assets/icon-256x256.jpg?rev=1529164)

# Vendi Cache

 作者：[cjhaas](https://profiles.wordpress.org/chrisvendiadvertisingcom/)

[下载](https://downloads.wordpress.org/plugin/vendi-cache.1.2.1.zip)

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

 [支持](https://wordpress.org/support/plugin/vendi-cache/)

## 描述

Vendi Cache takes your slow database-driven pages and turns them into very fast 
static HTML files.

_Squirrel image from https://commons.wikimedia.org/wiki/File:Tamias\_striatus\_CT.
jpg_

## 屏幕截图

 * [[
 * Settings for cache mode and options.
 * [[
 * Cache management and exclusions.
 * [[
 * Admin menu location.

## 安装

Before activating this plugin, please disable Wordfence’s caching system.

## 常见问题

  Is this plugin affiliated with Wordfence?

The authors of this plugin are not affiliated with Wordfence. The caching engines
used by this plugin were ported from Wordfence’s code after they decided to remove
them from their codebase.

  Does this plugin replace Wordfence?

No, but it does replace a feature that they will be removing soon. [Wordfence](https://wordpress.org/plugins/wordfence/)
is one of the best security plugins available for WordPress and for about 2 years
their product included a very awesome caching engine. In October of 2016 they decided
that they would be removing this caching engine which is why this plugin was created.

  Can I programmatically stop Vendi Cache from caching a specific page/post?

Yes, the caching engine may be stopped for a given request in several ways. The 
preferred way (as of 1.2.0) is via a filter: `add_filter( \Vendi\Cache\api::FILTER_NAME_DO_NOT_CACHE,'
__return_true' )`. For legacy reasons we also still support a public static method`\
Vendi\Cache\api::do_not_cache()`. Lastly, if you wish to globally stop the caching
engine site-wide you can define the `WFDONOTCACHE` constant somewhere in your code.

For historical reasons, if defined the global constant is always honored first and
cannot be undone via the filter. This might be changed in the future if someone 
actually has a need for it but generally speaking, constants are used to make global
changes by administrators that local code should not be able to undo.

## 评价

![](https://secure.gravatar.com/avatar/3f6a415b6ac78e385b085ef8c156026f4be4f174aaf4b980aec989dd6e8e2c3f?
s=60&d=retro&r=g)

### 󠀁[Vendi Cache = Lightweight, Falcon Fast!](https://wordpress.org/support/topic/vendi-cache-lightweight-falcon-fast/)󠁿

 [pnutb](https://profiles.wordpress.org/pnutb/) 2018 年 7 月 8 日

Hello WP Lovers, First off, I have No connection to the makers of VC. I actually“
signed up” a new account here so i could login and rave about VC. They deserve it.
Should be #1, honestly, as the rest are either bloated or confusing or both. Over
the years I’ve tried them all, from Rocket to WTC3 to you-name-it-plugin AND I’ve
also used many different codes to avoid using an extra plugin. The problem with 
using codes to your .htaccess file is that themes change, the web changes and in
the end there will be a glitch on your end sooner or later. So, get a clean coded
theme, use LIGHT plugins, try Autoptimize + Optimize DB + Leverage Browser Caching
+ Vendi Cache and YOU WILL see a much faster site. A lazy load plugin will also 
help as photos are the #1 slower downer of your site. Getting your photos optimized
is the #1 pro thing to do to speed up your site. Several plugin options out there
OR resize/crunch them yourself. Vendi Cache used to be included in the Wordfence
security plugin and boy did it speed things up. Then WF got bloated and slow–not
sure how they are now–and they removed “Falcon” cache. So, now Falcon has reappeared
as Vendi Cache and IMO it is the BEST cache plugin for 99% of websites. Try it for
yourself using GTMetrix.com to A/B your site speed w and w/o Vendi. Cheers!

![](https://secure.gravatar.com/avatar/eb02caaeae08a8912d9bedaf31e54d94a990638199a880d9a53de6b0b2d6f896?
s=60&d=retro&r=g)

### 󠀁[Easy Caching solution](https://wordpress.org/support/topic/easy-caching-solution/)󠁿

 [deputy963](https://profiles.wordpress.org/deputy963/) 2017 年 2 月 14 日

This has got to be the easiest drop in cache solution available. Works as expected
without pages and pages of options.

![](https://secure.gravatar.com/avatar/f8eb7dd28e5157582e9da6fdf288ce20ff7008c36aa4603521d0182b974c03ce?
s=60&d=retro&r=g)

### 󠀁[Thanks for your work !](https://wordpress.org/support/topic/thanks-for-your-work-4/)󠁿

 [Robswaimea](https://profiles.wordpress.org/robswaimea/) 2017 年 1 月 5 日 1 回复

Thanks for for your work in keeping the Falcon Engine alive.

![](https://secure.gravatar.com/avatar/82e49447efe5eb126db2604910003bd21075b2e78866fe69dc48bdcf2a23e366?
s=60&d=retro&r=g)

### 󠀁[Excellent drop in replacement – Falcon running Nginx](https://wordpress.org/support/topic/excellent-drop-in-replacement-falcon-running-nginx/)󠁿

 [ipmcorp](https://profiles.wordpress.org/ipmcorp/) 2016 年 12 月 27 日

We love Falcon and WordFence of course! We are running WP Network on Nginx and was
able to drop in Vendi with no additional config. So grateful for the standalone,
thanks everyone.

![](https://secure.gravatar.com/avatar/a6285feb98c9e605591ce8c7ed826f67d090c6a84ea7700ad912dbbe620d11b5?
s=60&d=retro&r=g)

### 󠀁[Thanks!](https://wordpress.org/support/topic/thanks-239/)󠁿

 [roger_burkhard](https://profiles.wordpress.org/roger_burkhard/) 2016 年 11 月 
11 日

I was looking for a replacement of the Wordfence Falcon Engine. Thank you so much,
it works perfectly!

![](https://secure.gravatar.com/avatar/15e50a779f3f5f3ddf489a015bee761056c04419690c1c0a74f65899af4ffe67?
s=60&d=retro&r=g)

### 󠀁[Excellent drop-in replacement](https://wordpress.org/support/topic/excellent-drop-in-replacement/)󠁿

 [Bob](https://profiles.wordpress.org/boblindner/) 2016 年 10 月 30 日

Vendi Cache is an excellent drop-in replacement for Wordfence caching. I was very
happy to hear Vendi offered this as I have been using the Falcon cache and really
wanted to just keep using what I had in the past. Thank you!

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/vendi-cache/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ cjhaas ](https://profiles.wordpress.org/chrisvendiadvertisingcom/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.1

 * Bug Fix: Incorrect function signature for error handling.

#### 1.2.0

 * Add API class for all future public contracts.
 * Add filter `\Vendi\Cache\api::FILTER_NAME_DO_NOT_CACHE` (preferred) and function`\
   Vendi\Cache\api::do_not_cache()` (legacy) to allow people to disable caching 
   per request.
 * Add `cache_stats` class to use instead of array, make strings translatable.
 * Add `clear_entire_cache` to public API.
 * Deprecate Vendi\Cache\Legacy\wordfence::do_not_cache() in favor of above.

#### 1.1.5

 * Do not cache if PHP throws a fatal exception or error in someone else’s code.

#### 1.1.4

 * Minor change, no update needed, added screenshots for WP

#### 1.1.3

 * Minor change, no update needed, removed github badges from readme

#### 1.1.2

 * Inlined a PHP constant
 * Fixed a couple of typos (props laxbobber)

#### 1.1.0

 * First public release

#### 1.0.1

 * First private beta.

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**9 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **4.7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/vendi-cache/)
 * 标签
 * [cache](https://cn.wordpress.org/plugins/tags/cache/)[caching](https://cn.wordpress.org/plugins/tags/caching/)
   [page cache](https://cn.wordpress.org/plugins/tags/page-cache/)
 *  [高级视图](https://cn.wordpress.org/plugins/vendi-cache/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  10 条 5 星评价     ](https://wordpress.org/support/plugin/vendi-cache/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/vendi-cache/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/vendi-cache/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/vendi-cache/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/vendi-cache/reviews/?filter=1)

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

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

## 贡献者

 *   [ cjhaas ](https://profiles.wordpress.org/chrisvendiadvertisingcom/)

## 支持

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

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