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.3.2
Last Updated: 2012-1-4
Downloads: 1,894

Average Rating

5 stars
(5 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says 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