Skip to content

A node.js worker script intended to purge Varnish cache and integrate with Redis pub/sub

Notifications You must be signed in to change notification settings

zehnergroup/varnish-purge-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Varnish Purge Worker

Setup

Create a config.json file and edit it as needed. You can use the sample (config.json.sample) as a template.

cp config.json.sample config.json

Install dependencies

npm install

Run the worker

It's as simple as running the script with node.js. You'll need root privileges (or permissions) to access Varnish's secret file

sudo node subscriber.js

About

A node.js worker script intended to purge Varnish cache and integrate with Redis pub/sub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published