ssnepenthe / cache-manager
A WordPress plugin for managing Nginx fastcgi cache.
Installs: 167
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Type:wordpress-plugin
Requires
- php: >=5.4
- composer/installers: ^1.0
- ssnepenthe/wp-requirements: ^0.1
Requires (Dev)
- psy/psysh: ^0.8
README
WordPress plugin for managing the Nginx fastcgi cache.
Requirements
PHP 5.4 or greater and Composer.
Installation
Install using Composer:
$ composer require ssnepenthe/cache-manager
Usage
This plugin assumes that you are running Nginx with fastcgi caching, but not the ngx_cache_purge module.
By default it uses the X-Nginx-Cache-Purge
header (filterable at cache_manager_refresh_headers
) to notify the server to regenerate an individual cache item. For an example server configuration see How I built “Have Baby. Need Stuff!”.