lighthouseuk / wp-exclude-from-wpe-smarter-cache
Exclude WordPress posts from WP Engine's Smarter Cache
Installs: 496
Dependents: 0
Suggesters: 0
Security: 0
Type:wordpress-plugin
pkg:composer/lighthouseuk/wp-exclude-from-wpe-smarter-cache
Requires
- composer/installers: ~2.3
Requires (Dev)
README
This WordPress plugin allows you to exclude posts from Smarter Cache. This is useful for posts that have critical dynamic content in them.
Installing
This plugin can be installed using composer by including running composer require lighthouseuk/wp-exclude-from-wpe-smarter-cache.
Usage
Define an array of posts IDs in your wp-config.php file
define( 'LH_EXCLUDE_FROM_SMARTER_CACHE', array( 1, 2 ) );
TODO
- Add user interface to set posts in the database.
- Set cache length.