Title: Purge Varnish Cache
Author: Dsingh
Published: <strong>1 de noviembre de 2016</strong>
Last modified: 2 de junio de 2026

---

Buscar plugins

![](https://ps.w.org/purge-varnish/assets/banner-772x250.png?rev=1530413)

![](https://ps.w.org/purge-varnish/assets/icon-128x128.png?rev=1530370)

# Purge Varnish Cache

 Por [Dsingh](https://profiles.wordpress.org/devavi/)

[Descargar](https://downloads.wordpress.org/plugin/purge-varnish.1.1.5.zip)

 * [Detalles](https://es.wordpress.org/plugins/purge-varnish/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/purge-varnish/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/purge-varnish/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/purge-varnish/#developers)

 [Soporte](https://wordpress.org/support/plugin/purge-varnish/)

## Descripción

Purge Varnish Cache provides integration between your WordPress site and multiple
Varnish Cache servers. Purge Varnish Cache sends a PURGE request to the URL of a
page or post every time based on configured actions and trigger by site administrator.
Varnish is a web application accelerator also known as a caching HTTP reverse proxy.

**Features:**
 * Support on all varnish versions of 3.x, 4.x, 5.x and 6.x * One 
time configuration. * admin-socket integration and Varnish admin interface for status.*
unlimited number of Varnish Cache servers. * Custom URLs purge. * User interface
for manual purge. * Single click entire cache purge. * Debugging. * Actively maintained.

**Requirements:** Apache sockets module/extention should be enabled.

**Purpose:** The main purpose of developing this plugin is to deliver updated copy
of content to end user without any delay.

**Enhancement Request:** For any further enhancement, please mail me at [**dev.firoza@gmail.com**](https://es.wordpress.org/plugins/purge-varnish/dev.firoza@gmail.com?output_format=md)

## Capturas

[⌊Terminal settings screen for test connectivity from varnish server.⌉⌊Terminal 
settings screen for test connectivity from varnish server.⌉[

Terminal settings screen for test connectivity from varnish server.

[⌊Action trigger configuration screen to make automate purge varnish cache for post
expiration.⌉⌊Action trigger configuration screen to make automate purge varnish 
cache for post expiration.⌉[

Action trigger configuration screen to make automate purge varnish cache for post
expiration.

[⌊Action trigger configuration screen to make automate purge varnish cache for comment
expiration.⌉⌊Action trigger configuration screen to make automate purge varnish 
cache for comment expiration.⌉[

Action trigger configuration screen to make automate purge varnish cache for comment
expiration.

[⌊Action trigger configuration screen to make automate purge varnish cache on menu
update.⌉⌊Action trigger configuration screen to make automate purge varnish cache
on menu update.⌉[

Action trigger configuration screen to make automate purge varnish cache on menu
update.

[⌊Action trigger configuration screen to make automate purge varnish cache on theme
change.⌉⌊Action trigger configuration screen to make automate purge varnish cache
on theme change.⌉[

Action trigger configuration screen to make automate purge varnish cache on theme
change.

[⌊Purge whole site cache.⌉⌊Purge whole site cache.⌉[

Purge whole site cache.

[⌊Purge URLs screen to purge URLs manually from varnish cache.⌉⌊Purge URLs screen
to purge URLs manually from varnish cache.⌉[

Purge URLs screen to purge URLs manually from varnish cache.

## Instalación

**How to install Purge Varnish?**

 * Go to your admin area and select Plugins -> Add new from the menu.
 * Search for «Purge Varnish» or download
 * Click install and then click on activate link.

**How to configure settings?**

 * Access the link DOMAIN_NAME/wp-admin/admin.php?page=purge-varnish-settings and
   configure terminal settings.
 * Access the link DOMAIN_NAME/wp-admin/admin.php?page=purge-varnish-expire and 
   configure required actions and events.
 * Access the link DOMAIN_NAME/wp-admin/admin.php?page=purge-varnish-urls for purge
   urls from varnish cache.
 * Access the link DOMAIN_NAME/wp-admin/admin.php?page=purge-varnish-all to purge
   all varnish cache.

## FAQ

**How can I check everything’s working?**

It is not difficult. Install this plugin and configure Terminal settings using below
link.
 DOMAIN_NAME/wp-admin/admin.php?page=purge-varnish-settings.

If status is ‘Varnish running’ means everything is working perfectly!

**What versions of Varnish is supported?**

Currently it is supporting all varnish versions of 3.x, 4.x, 5.x and 6.x

**How do I manually purge a single URL from varnish cache?**

Click on ‘Purge URLs’ link or access below link.
 DOMAIN_NAME/wp-admin/admin.php?
page=purge-varnish-urls.

**What if I have multiple varnish Servers/IPs?**

You need to configure multiple IPs in Varnish Control Terminal textfield in ‘Terminal’
screen like 127.0.0.1:6082 127.0.0.2:6082 127.0.0.3:6082

**How can I debug?**

Add below constant in wp-config.php file.
 **define(‘WP_VARNISH_PURGE_DEBUG’, true);**

It will generate a log file ‘purge_varnish_log.txt’ inside uploads directory.

**How do I manually purge the whole site cache?**

Clicking on link ‘Purge all’ or access below link:
 DOMAIN_NAME/wp-admin/admin.php?
page=purge-varnish-all.

**What it purge?**

It allow you to configure purge settings.
 Please configure by clicking on Expire
link or accessing below link. DOMAIN_NAME/wp-admin/admin.php?page=purge-varnish-
expire to configure purge expire setting.Clicking on Expire link

## Reseñas

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

### 󠀁[Does Exactly What it Should](https://wordpress.org/support/topic/does-exactly-what-it-should-32/)󠁿

 [stratoextra](https://profiles.wordpress.org/stratoextra/) 14 de febrero de 2025

Does exactly what it should and still works with WordPress 6.7.2.

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

### 󠀁[Possible malware – images/purge16x16.png](https://wordpress.org/support/topic/possible-malware-images-purge16x16-png/)󠁿

 [Igor Kovacic](https://profiles.wordpress.org/ikovacic/) 24 de noviembre de 2022
3 respuestas

EDIT: Resolved very quick. We've just finished scanning of our website, and malware
scanner reported file wp-content/plugins/purge-varnish/images/purge16x16.png If 
you open that file in text editor, you'll notice some Javascript although it's PNG
file. Please let me know why this file contains suspicious JS. Everything else is
great.

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

### 󠀁[Functional and very useful plugin](https://wordpress.org/support/topic/functional-and-very-useful-plugin/)󠁿

 [pradipktiwari](https://profiles.wordpress.org/pradipktiwari/) 17 de abril de 2020

This Plugin works perfectly now with wordpress version 5.2 and Varnish 6.x, and 
I’m very happy using it. The only working plugin for me.

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

### 󠀁[Life saver](https://wordpress.org/support/topic/life-saver-293/)󠁿

 [escapefromhere](https://profiles.wordpress.org/bukowski1982/) 15 de marzo de 2020
1 respuesta

Working perfectly, thanks!

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

### 󠀁[Only working plugin for varnish, thank you!](https://wordpress.org/support/topic/only-working-plugin-for-varnish-thank-you/)󠁿

 [meken](https://profiles.wordpress.org/meken/) 1 de enero de 2019

The only working plugin for me, since Varnish 4 ~ 6. I am running Apache+php fpm,
7.0~7.2

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

### 󠀁[useful for my site](https://wordpress.org/support/topic/useful-for-my-site/)󠁿

 [kozora](https://profiles.wordpress.org/kozora/) 1 de octubre de 2017

developer help solve problem, thanks a lot this plugin is useful for my site, can
auto purge Varnish

 [ Leer todas las 10 reseñas ](https://wordpress.org/support/plugin/purge-varnish/reviews/)

## Colaboradores y desarrolladores

«Purge Varnish Cache» es un software de código abierto. Las siguientes personas 
han colaborado con este plugin.

Colaboradores

 *   [ Dsingh ](https://profiles.wordpress.org/devavi/)

[Traduce «Purge Varnish Cache» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/purge-varnish)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/purge-varnish/) , 
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/purge-varnish/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/purge-varnish/)
por [RSS](https://plugins.trac.wordpress.org/log/purge-varnish/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.1.5

Fix:
 1. Compatibility update for WordPress 7.x. 2. Hardening for newer PHP/WordPress
runtime behavior.

#### 1.1.4

Fix:
 1. PHP 8 error: socket_connect()

#### 1.1.3

Fix:
 1. Make it Comptable with WP 6.0.2

#### 1.1.2

Fix:
 1. Update Icon

#### 1.1.1

Fix:
 1. Resolve css conflicts occur with wp-admin elements

#### 1.1.0

Fix:
 1. Fix Notice: Undefined index. 2. AH01071: Got error ‘PHP message: Recieved
status code 106

#### 1.0.9

Fix:
 1. Fix minor warning issues. 2. Fix css issues. 3. Re-test on php7.2

#### 1.0.8

Fix:
 1. Wrong number of arguments’ errors filling up logs. 2. Purge Varnish cache
on comment post/update on published post.

#### 1.0.7

Fix:

 1. Plugin shows white screen after setup.
 2. Multiple Varnish terminals connect message is wrong.

#### 1.0.6

Fix:
 1. Plugin shows white screen after setup. 1. Multiple Varnish terminals connect
message is wrong.

Implement Trigger to purge post on comment approved/unapproved
 Fix: Wrong number
of arguments Update respected screens.

#### 1.0.5

Purge Custom URLs
 Update screens.

#### 1.0.4

Enable expire configuration automatically when plug in enabled.
 Add more tags. 
Update screens.

#### Version 2.x

 * PHP 4.x/5.x/6.x/7.x compatibility.

## Meta

 *  Versión **1.1.5**
 *  Última actualización **hace 4 meses**
 *  Instalaciones activas **1.000+**
 *  Versión de WordPress ** 4.0 o superior **
 *  Probado hasta **7.0.6**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/purge-varnish/)
 * Etiquetas:
 * [cache](https://es.wordpress.org/plugins/tags/cache/)[caching](https://es.wordpress.org/plugins/tags/caching/)
   [flush](https://es.wordpress.org/plugins/tags/flush/)[Purge](https://es.wordpress.org/plugins/tags/purge/)
   [varnish](https://es.wordpress.org/plugins/tags/varnish/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/purge-varnish/advanced/)

## Valoraciones

 5 de 5 estrellas.

 *  [  10 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/purge-varnish/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/purge-varnish/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/purge-varnish/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/purge-varnish/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/purge-varnish/reviews/?filter=1)

[Tu valoración](https://wordpress.org/support/plugin/purge-varnish/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/purge-varnish/reviews/)

## Colaboradores

 *   [ Dsingh ](https://profiles.wordpress.org/devavi/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/purge-varnish/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](http://avantikayadav.com/donate.html)