Linux 软件免费装
Banner图

Nginx Cache Purge Preload

开发者 psauxit
更新时间 2026年3月23日 16:18
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

cache performance purge preload nginx

下载

2.1.2 2.0.3 2.0.5 2.0.2 2.0.1 2.0.7 2.0.8 2.0.6 2.0.4 2.0.9 2.1.0 2.1.1 2.1.3 2.1.4 2.1.5

详情介绍:

NPP lets WordPress users manage Nginx Cache Purge and Preload (FastCGI, Proxy, SCGI, UWSGI) operations directly from the WordPress admin dashboard — actively warming the cache via site crawl, so your Nginx cache is always preloaded and ready. ➡️ Resources: • Visit the NPP Main Development Repository - Docs, issues & contributions and more. • Visit the safexec Main Development Repository - NPP's privilege-dropping C wrapper. • Explore NPP Containerized - Ready to run full stack Nginx Docker setup. • Refer to the plugin’s Help tab for additional guidance.

安装:

Manual Installation
  1. Upload the "fastcgi-cache-purge-and-preload-nginx" folder to the "/wp-content/plugins/" directory.
  2. Activate the plugin through the "Plugins" menu in the WordPress admin dashboard.
  3. Configure plugin settings under "Settings" -> "Nginx Cache Purge Preload" in the WordPress admin dashboard.
  4. Access "Nginx Cache Purge Preload" operations from the WordPress admin bar (frontend & backend), the Admin Dashboard, and the Plugin Settings page.
Automatic Installation
  1. Log in to your WordPress admin panel, navigate to the "Plugins" menu and click "Add New".
  2. In the search field type “Nginx Cache Purge Preload” and click "Search Plugins". From the search results, pick "Nginx Cache Purge Preload" and click "Install Now". Wordpress will ask you to confirm to complete the installation.

屏幕截图:

  • Settings Tab Preload
  • Settings Tab Schedule
  • Settings Tab Mail & Logging
  • Status Tab
  • Advanced Tab
  • Help Tab
  • Front-end Admin Bar

升级注意事项:

2.1.5 Security and data-safety fixes included. Upgrade immediately. 2.1.4 Introduces Nginx Cache Analyzer, safexec hardened execution, Purge Scope for related pages, and a Setup Wizard. Recommended upgrade for all users. 2.1.3 Security patch for CVE-2025-6213. Upgrade immediately. 2.0.1 Important fixes for function/class/define/namespace/option names. Internationalization and security improvements.

其他记录:

For more information, visit the plugin development page: Nginx Cache Purge Preload

常见问题:

Does this plugin require Nginx?

Yes. NPP is designed exclusively for Nginx web servers running on Linux. It does not work on Apache, shared hosting, or environments where shell_exec is disabled.

Does it require the ngx_cache_purge Nginx module?

No. The ngx_cache_purge module is optional. When available, NPP uses it as the fastest purge path (HTTP Purge). If it is not present, NPP automatically falls back to a URL index lookup and then a full filesystem scan. Nothing breaks either way.

What server dependencies are required?

Mostly basic, built-in shell tools are required. wget is required for cache preloading. For hardened shell execution, safexec is highly recommended — see the Help tab for installation instructions.

Why is the plugin not working on my environment?

The most common reasons are: shell_exec is disabled, the PHP-FPM user lacks write permission to the Nginx cache directory, or nginx.conf is not detected. See the Help tab for a full environment checklist and solutions.

I am getting permission errors. What should I do?

This is the most common issue in environments where the WEBSERVER-USER (nginx/www-data) and PHP-FPM-USER are different. NPP provides a one-liner bash script to automate the fix using bindfs on monolithic servers. For containerized environments, users can review the full configuration setup via NPP Containerized See the Help tab → Permission Issues section or the GitHub repository for details.

Does it work with Cloudflare?

Yes. NPP has built-in Cloudflare APO Sync that mirrors every purge to Cloudflare’s edge cache automatically. Requires the official Cloudflare WordPress plugin. Enable it under Settings.

Does it work with Redis Object Cache?

Yes. NPP supports bidirectional sync with the Redis Object Cache plugin. A Purge All in NPP flushes Redis, and a Redis flush triggers a full Nginx cache purge. Enable it under Settings.

Is it compatible with WooCommerce?

Yes. NPP includes built-in WooCommerce Auto-Purge for stock changes and order events, and supports purging the Shop page as a related URL when a product is updated.

Can I use it alongside other caching plugins?

Yes, but disable page caching in other plugins to avoid conflicts. You can keep their frontend optimization features (minification, lazy loading, CDN) active. See the Help tab for details.

Where can I find the allowed Nginx cache paths?

NPP restricts cache paths to prevent accidental deletion of system files. Allowed roots are /dev/shm/, /tmp/, /var/, and /cache/. The path must be at least one level deep (e.g. /var/cache/nginx). Full details in the Help tab.

更新日志:

2.1.5 Release date: 2026-03-23 2.1.4 Release date: 2025-10-04 2.1.3 Release date: 2025-07-22 2.1.2 Release date: 2025-06-23 2.1.1 Release date: 2025-03-17 2.1.0 Release date: 2025-02-23 Major Release: 46 files changed, 5,170 additions, 1,410 deletions. Now fully supports internationalization, enabling complete translation for a global user base. 2.0.9 Release date: 2024-11-30 Milestone: Add support for preloading cache separately for Mobile devices Milestone: Resolved the long-standing issue prior to version 2.0.5, where users encountered a "Not a valid JSON response" error. 2.0.8 Release date: 2024-11-24 2.0.7 Release date: 2024-11-22 2.0.6 Release date: 2024-11-21 2.0.5 Release date: 2024-11-17 Now more powerful with custom fastcgi_cache_key support. Here's the short changelog for version 2.0.5, with contributors proudly mentioned. 2.0.4 Release date: 2024-10-10 This is a massive update: 39 changed files, 3,392 additions, and 1,063 deletions. Here the short changelog for version 2.0.4 2.0.3 Release date: 2024-08-09 2.0.2 Release date: 2024-06-30 2.0.1 Release date: 2024-05-24 2.0.0 Release date: 2024-04-24 1.0.3 Release date: 2024-03-28 1.0.2 Release date: 2024-03-20 1.0.1 Release date: 2024-03-15 1.0.0 Release date: 2024-03-14