WordPress.org

Plugin Directory

Nginx Cache Controller

Provides some functions of controlling Nginx proxy server cache.

This plugin provides some functions of controlling Nginx proxy server cache.

Security

  • Making comment authors' information ajaxed to prevent the information from caching.
  • Send no-cache header on password protected posts to prevent the posts from caching.
  • When a scheduled post is published, it will delete the cache through Ajax.

Controlling cache

  • Sending X-ACCEL-EXPIRES, you can specify the available period of the cache.
  • When you save your post and someone post comments, the cache is deleted automatically.
  • Add a menu on the admin bar to delete the cache.

Memo

  • Gets comment poster's IP address by HTTP_X_FORWARDED_FOR header.
  • Fixes the issue that the permanent link setting includes index.php.
  • When the cache's expiration period is more than 86400 sec, change the value of wp_verify_nonce() same as the period.

WP-CLI Support

Flush all proxy caches.

wp nginx flush

Show list of all proxy caches.

wp nginx list --format=csv
wp nginx list --format=json

See help.

wp help nginx

Languages

Contributor

Requires: 3.4 or higher
Compatible up to: 4.1.5
Last Updated: 2015-1-19
Active Installs: 3,000+

Ratings

4.9 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
100,1,1 100,2,2
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1