WordPress.org

Plugin Directory

NGINX Manager

Easily purge Nginx cache. Each time a post is modified clear the cached version of the page and of all the related page.

IMPORTANT

If you are using a proxy you must modify the file wp-includes/class-http.php and delete (or comment out) lines 1346-1347 (WP 3.3) in function send_through_proxy():

if ( $check['host'] == 'localhost' || $check['host'] == $home['host'] ) return false;

  1. Upload the directory nginx-manager to the /wp-content/plugins/ directory
  2. Configure Nginx. Install Cache Purge module http://labs.frickle.com/nginx_ngx_cache_purge/ and configure the cache
  3. Activate the plugin through the 'Plugins' menu in WordPress

For questions or support post a comment here http://www.iliveinperego.com/2010/10/nginx-automatically-cache-purge/

Scheduled posts script

To avoid problems with scheduled posts you must set a cron job that i

  1. Edit /script/future_posts_cron.php and set $_SERVER['HTTP_HOST'] to you host and ABSPATH_SCRIPT to your WordPress installation path
  2. Add a job in your crontab to schedule the script to run every minute

    For example :

* * * * * /usr/local/bin/php /var/documentroot/wp-content/plugins/nginx-manager/script/future_posts_cron.php

Requires: 3.0 or higher
Compatible up to: 3.9.2
Last Updated: 2014-5-5
Active Installs: 200+

Ratings

5 out of 5 stars

Support

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,1,1
0,1,0 100,1,1 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,2,2
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
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1