Nginx Cache Controller

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

安全

  • 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

See help.
wp help nginx

语言

贡献者

荣誉榜

This plug-in is not guaranteed though the user of WordPress can freely use this plug-in free of charge regardless of the purpose.
The author must acknowledge the thing that the operation guarantee and the support in this plug-in use are not done at all beforehand.

联系人

  • https://github.com/miya0001/nginx-champuru
0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录