Nginx Cache

Description

Purge the Nginx cache (FastCGI, Proxy, uWSGI) automatically when content changes or manually within WordPress.

Requirements:

  • The Filesystem API needs to function without asking for credentials.
  • Nginx and PHP need to run under the same user, or PHP’s user needs write access to Nginx’s cache path.

Screenshots

Installation

For detailed installation instructions, please read the standard installation procedure for WordPress plugins.

  1. Install and activate plugin.
  2. Enter „Cache Zone Path“ under Tools -> Nginx.
  3. Done.

Reviews

7. Oktobar 2024.
Another outstanding plugin from same developer who created Redis Object Cache Pro! The plugin is lightweight and effective for purging nginx cache, teaming this plugin with "syncthing" allows us to clear our caches across multiple servers in the pool. It's part of our core.
7. Maj 2024.
Best plugin I've ever come across. Does the job, for free, asks nothing in return, and is insanely minimal. Till is a legend.
Read all 24 reviews

Contributors & Developers

“Nginx Cache” is open source software. The following people have contributed to this plugin.

Contributors

“Nginx Cache” has been translated into 6 locales. Thank you to the translators for their contributions.

Translate “Nginx Cache” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.8

  • Support NGINX_CACHE_PATH constant

1.0.7

  • Support newer versions of Nginx in validate_dirlist()

1.0.6

  • Fixed rare issue in validate_dirlist()

1.0.5

  • Added nginx_cache_zone_purged action

1.0.4

  • Improved translatable strings
  • Fixed auto-purge bug
  • Fixed bug when validating directory

1.0.3

  • Create cache directory if it doesn’t exists
  • Re-create cache directory after cache purge
  • Allow post types to be excluded from triggering a cache purge

1.0.2

  • Fixed 4.6 issue with file-system credentials

1.0.1

  • Improved testing of file-system credentials

1.0

  • Initial release