Clean clear VARNISH cache automatically when content on your site is created or modified, also allow you to purge VARNISH cache manually.
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 [email protected]
How to install Purge Varnish?
How to configure settings?
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 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 theme change.
Purge whole site cache.
Purge URLs screen to purge URLs manually from varnish cache.
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
Fix:
1. PHP 8 error: socket_connect()= 1.1.3 =
Fix:
1. Make it Comptable with WP 6.0.2
Fix:
1. Update Icon
Fix:
1. Resolve css conflicts occur with wp-admin elements
Fix:
1. Fix Notice: Undefined index.
2. AH01071: Got error ‘PHP message: Recieved status code 106
Fix:
1. Fix minor warning issues.
2. Fix css issues.
3. Re-test on php7.2
Fix:
1. Wrong number of arguments’ errors filling up logs.
2. Purge Varnish cache on comment post/update on published post.
Fix:
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.
Purge Custom URLs
Update screens.
Enable expire configuration automatically when plug in enabled.
Add more tags.
Update screens.