This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

LiteSpeed Cache Purge


Plugin for invalidating WordPress items on a litespeed cache

LiteSpeed Cache Purge sends an HTTP PURGE or REFRESH request to the URL of a page or post every time it is modified. This occurs when editing, publishing, commenting or deleting an item.


In order to work, the varnish cache meeds to accept PURGE/REFRESH request from the host of the wordpress web server.

Tested with LSWS 4.2.2 WP 3.5.1


Download to your plugin directory. Or simply install via WordPress admin interface.
Settings: choose purge method (PURGE or REFRESH)
LScache: to enable,

WebAdmin console => Configuration => Server => Cache

Cache Storage Settings
Storage Path: /disk/lscache
Max Object Size: 128000

Cache Policy
Enable Cache: Yes
Cache Expire Time (seconds): 120
Cache Stale Age (seconds): Not Set
Cache Request with Query String: No
Cache Request with Cookie: Yes
Cache Response with Cookie: Yes
Ignore Request Cache-Control: Yes
Ignore Response Cache-Control: Yes
Enable Private Cache: Not Set
Private Cache Expire Time (seconds): Not Set

Do-Not-Cache URL

For details, refer to

Contributors & Developers

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



  • Eliminate ‘The plugin generated 1 characters of unexpected output during activation’ error message.


  • Initial Release