Description
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
Screenshots
Installation
Before activating this plugin, please disable Wordfence’s caching system.
FAQ
- 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 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 theWFDONOTCACHE
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.
Reviews
Contributors & Developers
“Vendi Cache” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Vendi Cache” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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.