Title: Nginx Cache
Author: Till Krüss
Published: <strong>20. november, 2014</strong>
Last modified: 4. maj, 2026

---

Søg plugins

![](https://ps.w.org/nginx-cache/assets/banner-772x250.jpg?rev=1029092)

![](https://ps.w.org/nginx-cache/assets/icon-256x256.jpg?rev=1029092)

# Nginx Cache

 Af [Till Krüss](https://profiles.wordpress.org/tillkruess/)

[Download](https://downloads.wordpress.org/plugin/nginx-cache.1.0.8.zip)

 * [Detaljer](https://da.wordpress.org/plugins/nginx-cache/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/nginx-cache/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/nginx-cache/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/nginx-cache/#developers)

 [Support](https://wordpress.org/support/plugin/nginx-cache/)

## Beskrivelse

Purge the [Nginx](http://nginx.org) cache (FastCGI, Proxy, uWSGI) automatically 
when content changes or manually within WordPress.

Requirements:

 * The [Filesystem API](https://codex.wordpress.org/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.

## Skærmbilleder

[⌊Plugin settings page.⌉⌊Plugin settings page.⌉[

Plugin settings page.

## Installation

For detailed installation instructions, please read the [standard installation procedure for WordPress plugins](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins).

 1. Install and activate plugin.
 2. Enter “Cache Zone Path” under _Tools -> Nginx_.
 3. Done.

## Anmeldelser

![](https://secure.gravatar.com/avatar/00107ca86bfb7b6eff1c236de78204ef95c1da3c291ab54347bd1939ba00bf92?
s=60&d=retro&r=g)

### 󠀁[Simple and Good](https://wordpress.org/support/topic/simple-and-good-178/)󠁿

 [dgulias](https://profiles.wordpress.org/dgulias/) 14. oktober, 2026

Just do its job. Simple like that.

![](https://secure.gravatar.com/avatar/f731bd1ab0eb2acd6aee8eea248e8e0ff440053ff9de27f459e5b1bcaee7aa67?
s=60&d=retro&r=g)

### 󠀁[Another Outstanding Plugin](https://wordpress.org/support/topic/another-outstanding-plugin/)󠁿

 [E-LIQUIDS UK](https://profiles.wordpress.org/notblowingsmoke/) 7. oktober, 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.

![](https://secure.gravatar.com/avatar/e71f35ab2f410140e01f237ee7b4a022cde3136e9ee7a90e3c1d9fe37e68632b?
s=60&d=retro&r=g)

### 󠀁[Works with 6.5.3](https://wordpress.org/support/topic/works-with-6-5-3/)󠁿

 [imissit](https://profiles.wordpress.org/imissit/) 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.

![](https://secure.gravatar.com/avatar/7545a548d31f733628975527edd94885c7b615d0d47d1cbe3eec98beb6423d64?
s=60&d=retro&r=g)

### 󠀁[Don’t be fooled by lack of updates](https://wordpress.org/support/topic/dont-be-fooled-by-lack-of-updates/)󠁿

 [Bleu Munster](https://profiles.wordpress.org/keysuck/) 24. oktober, 2023

This plugin is the ONLY one that actually purges FastCGI cache without any impact
to the website.

![](https://secure.gravatar.com/avatar/cd2f76d81cf7a6677dd1ab4d5b07b978f0e28f1862fd47c414e204f0884c597c?
s=60&d=retro&r=g)

### 󠀁[Simple & Perfect – Thanks](https://wordpress.org/support/topic/simple-perfect-thanks/)󠁿

 [Chinmay Rajyaguru](https://profiles.wordpress.org/inis/) 8. juli, 2022

Easy to use, and Handy tool

![](https://secure.gravatar.com/avatar/f5bcb0b183b67586e10f7445d22cd543c1dfa05ea3992dcdac543429532177b6?
s=60&d=retro&r=g)

### 󠀁[Great plugin with some minor issues](https://wordpress.org/support/topic/great-plugin-with-some-minor-issues/)󠁿

 [Gulshan Kumar](https://profiles.wordpress.org/thegulshankumar/) 29. juni, 2022

Doesn't purge Hindi encoded URL permalink

 [ Læs alle 24 anmeldelser ](https://wordpress.org/support/plugin/nginx-cache/reviews/)

## Bidragsydere & udviklere

“Nginx Cache” er open source-software. Følgende personer har bidraget til dette 
plugin.

Bidragsydere

 *   [ Till Krüss ](https://profiles.wordpress.org/tillkruess/)

“Nginx Cache” er blevet oversat til 6 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/nginx-cache/contributors)
for deres bidrag.

[Oversæt “Nginx Cache” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/nginx-cache)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/nginx-cache/), tjek 
[SVN repository](https://plugins.svn.wordpress.org/nginx-cache/), eller abonner 
på [udviklerloggen](https://plugins.trac.wordpress.org/log/nginx-cache/) via [RSS](https://plugins.trac.wordpress.org/log/nginx-cache/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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

## Meta

 *  Version **1.0.8**
 *  Senest opdateret **6 måneder siden**
 *  Aktive installationer **8.000+**
 *  WordPress-version ** 3.1 eller højere **
 *  Testet op til **7.0.8**
 *  Sprog
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/nginx-cache/), [English (US)](https://wordpress.org/plugins/nginx-cache/),
   [Finnish](https://fi.wordpress.org/plugins/nginx-cache/), [Italian](https://it.wordpress.org/plugins/nginx-cache/),
   [Japanese](https://ja.wordpress.org/plugins/nginx-cache/), [Korean](https://ko.wordpress.org/plugins/nginx-cache/)
   og [Russian](https://ru.wordpress.org/plugins/nginx-cache/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/nginx-cache)
 * Tags
 * [cache](https://da.wordpress.org/plugins/tags/cache/)[fastcgi](https://da.wordpress.org/plugins/tags/fastcgi/)
   [flush](https://da.wordpress.org/plugins/tags/flush/)[nginx](https://da.wordpress.org/plugins/tags/nginx/)
   [Purge](https://da.wordpress.org/plugins/tags/purge/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/nginx-cache/advanced/)

## Bedømmelser

 4.6 ud af 5 stjerner.

 *  [  20 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/nginx-cache/reviews/?filter=5)
 *  [  2 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/nginx-cache/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/nginx-cache/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/nginx-cache/reviews/?filter=2)
 *  [  2 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/nginx-cache/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/nginx-cache/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/nginx-cache/reviews/)

## Bidragsydere

 *   [ Till Krüss ](https://profiles.wordpress.org/tillkruess/)

## Support

Problemerne er løst inden for de sidste to måneder:

     0 ud af 1

 [Vis supportforum](https://wordpress.org/support/plugin/nginx-cache/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://github.com/sponsors/tillkruss)