Varnish Modules

VMODs are extensions written for Varnish Cache. This page serves as a directory of maintained VMODs.

If you have written a VMOD and want it listed here please send a PR to this github repo and we will be happy to include it.

For other Varnish Cache related projects and utilities, please see the Varnish Extras.

Instructions on how to get your VMOD on the list below.

VMODDescriptionDocsLicenseStatusLinkVCCSupport
abtestAB Tests value selector3.0FreeBSDmatureGithub3.0
all_healthymore than one probe or a different backend’s probe4.1 masterFreeBSDmatureRepos4.1 masterUPLEX
authenticationAuthentication3.0FreeBSDmatureGithub3.0
awsrestAWS Signature3.0 4.0 4.1 5.0 masterFreeBSDdevelopmentGithub3.0 4.0 4.1 5.0 master
backend_dyncreate and delete backends at runtime4.1FreeBSDdevelopmentRepos4.1UPLEX
basicauthBasicauth4.0 4.1 5.1GPLv2matureRepos4.0 4.1 5.1Norse Digital
blobcodebinary-to-text encodings and decodings for BLOBs4.1 5.0 5.1FreeBSDincluded in Varnish-Cache since release 5.2 as vmod_blobRepos4.1 5.0 5.1UPLEX
blobdigestdigests and hmacs for BLOBs4.1 5.0 5.1 5.2 masterFreeBSDmatureRepos4.1 5.0 5.1 5.2 masterUPLEX
blobsha256SHA256 digests and hmacs for BLOBs4.1FreeBSDdevelopmentRepos4.1UPLEX
blobsynthGenerate synthetic() responses from BLOBs5.2Public DomainmatureRepos5.2UPLEX
boltsortboltsort – QueryString params sort3.0 4.0FreeBSDmatureGithub3.0 4.0
cfgAccess to local / remote .ini / .json files, access to environment variables, and execution of local / remote Lua scripts4.1 5.0 5.1 5.2 6.0 6.1 masterFreeBSDmatureGithub4.1 5.0 5.1 5.2 6.0 6.1 masterAllenta Consulting S.L.
clustersimple and easy cache clustering / peeringmasterFreeBSDmatureReposmasterUPLEX
cookieCookie4.1FreeBSDmatureGithub4.1Varnish Software
crashhandlerCrashhandler3.0FreeBSDmatureGithub3.0
cryptoasymmetric signatures (RSA, DSA) in VCLmasterFreeBSDdevelopmentReposmasterUPLEX
curlcURL4.1FreeBSDmatureGithub4.1Varnish Software
dateformatDate conversions functions accordingly to a date format (strftime)4.1 5.0BSD 2-ClausematureGithub4.1 5.0
dbrwDatabase-driven rewrites4.0 4.1 5.1GPLv2matureRepos4.0 4.1 5.1Norse Digital
dclassdClass Apache DeviceMap4.1Apache2matureGithub4.1
dcsDevice Classifier Service3.0 4.0 4.1 5.0FreeBSDmatureRepos3.0 4.0 4.1 5.0UPLEX
deviceatlasDeviceAtlas Mobile DetectionOthermatureVarnish Software
dgramDgram4.1FreeBSDdevelopmentGithub4.1
dictDictionary look-up4.1 5.1GPLv2matureRepos4.1 5.1Norse Digital
digestDigest4.1FreeBSDmatureGithub4.1Varnish Software
directorsBackend selection directors4.0 4.1 masterFreeBSDincludedGithub4.0 4.1 masterVarnish Software UPLEX
dnsDNS4.1Apache2matureGithub4.1
drupal7Provide Drupal-related functions within Varnish3.0 4.0FreeBSDmatureRepos3.0 4.0
dynamicDynamic Backends from DNS lookups4.1 5.0 5.1 5.2 masterFreeBSDmatureGithub4.1 5.0 5.1 5.2 masterUPLEX
esicookiesinject cookies from Set-Cookie into ESI request headers3.0FreeBSDdevelopmentRepos3.0UPLEX
esiextraETag and Last-Modified for ESImasterFreeBSDdevelopmentReposmasterUPLEX
exampleexample vmod – hello world!4.1FreeBSDprototypeGithub4.1Varnish Software
fileFile3.0FreeBSDdevelopmentGithub3.0
frozenEfficient JSON parsing based on the frozen parsermasterFreeBSDdevelopmentReposmasterUPLEX
gcryptaccess the libgcrypt library of cryptographic building blocks5.1FreeBSDdevelopmentRepos5.1UPLEX
geoip2Query MaxMind GeoIP2 DB files4.1 6.0 6.1 masterBSD 2-ClausematureGithub4.1 6.0 6.1 master
gossipDump information about contents stored in the cache to a JSON file4.1 6.0 6.1 masterFreeBSDdevelopmentGithub4.1 6.0 6.1 masterAllenta Consulting S.L.
headerHeader manipulation4.0FreeBSDmatureGithub4.0Varnish Software
headerproxyAdd custom request/response headers via your native programming language.4.1FreeBSDdevelopmentGithub4.1
hoailonasupport use of the SecureHD Policy service provided by Akamai Media Services5.0 5.1 5.2 masterFreeBSDmatureRepos5.0 5.1 5.2 masterUPLEX
i18nlibvmod-i18n3.0OthermatureGithub3.0
imgdataimgdata3.0OtherdevelopmentGithub3.0
ip2locationip2location4.1FreeBSDdevelopmentGithub4.1
ipcastipcast3.0FreeBSDmatureGithub3.0Varnish Software
jqJSON processormasterBSD 2-ClausedevelopmentGithubmaster
jsonJSON3.0FreeBSDdevelopmentGithub3.0
ldapLDAP authentication3.0FreeBSDdevelopmentGithub3.0
libvmod_unidirectorsBackend selection directors (alternative from vmod_directors)4.1 masterFreeBSDmatureGithub4.1 master
luaLua4.1FreeBSDprototypeGithub4.1
maxminddbMaxmind Geoip4.1FreeBSDprototypeGithub4.1
memcachedmemcached3.0FreeBSDmatureGithub3.0
nullnull – Binary data in synthetic3.0FreeBSDmatureGithub3.0
oob_probeassign an out-of-band health probe to a backend4.1FreeBSDdevelopmentRepos4.1UPLEX
otpOne-time password generator(HOTP/TOTP)5.1 masterFreeBSDdevelopmentGithub5.1 master
parseformParse POST field4.1 5.1 masterFreeBSDdevelopmentGithub4.1 5.1 master
pcre2access the PCRE2 regular expression library5.1FreeBSDdevelopmentRepos5.1UPLEX
queryfilterSimple query string filter/sort module3.0 4.0 4.1 5.2Apache2matureGithub3.0 4.0 4.1 5.2
querystringQueryString4.1FreeBSDmatureGithub4.1
ratelimitRatelimit3.0FreeBSDdevelopmentGithub3.0
reregexp matches and backreferences3.0 4.0 4.1 5.0 5.1 5.2 6.0 masterFreeBSDmatureRepos3.0 4.0 4.1 5.0 5.1 5.2 6.0 masterUPLEX
re2access the Google RE2 regular expression engine4.1 5.0 5.1 5.2 6.0 masterFreeBSDmatureRepos4.1 5.0 5.1 5.2 6.0 masterUPLEX
redirectredirect3.0FreeBSDdevelopmentGithub3.0
redisAccess to Redis Server / Redis Cluster databases, including Redis Sentinel support3.0 4.0 4.1 5.0 5.1 5.2 6.0 6.1 masterFreeBSDmatureGithub3.0 4.0 4.1 5.0 5.1 5.2 6.0 6.1 masterAllenta Consulting S.L.
rfc6052rfc60524.1FreeBSDdevelopmentGithub4.1
rtstatusRealTime Status Page3.0FreeBSDmatureGithub3.0Varnish Software
saintmodeSaint mode (4.1 or later)4.1FreeBSDmatureGithub4.1Varnish Software
secdownSecure download3.0FreeBSDprototypeGithub3.0
selectormatch strings associated with backends, regexen and other strings4.1 5.0 5.1 5.2 6.0 masterFreeBSDdevelopmentRepos4.1 5.0 5.1 5.2 6.0 masterUPLEX
shieldShield3.0FreeBSDmatureGithub3.0
soapRead SOAP XML messages in HTTP request’s body and expose fields4.1 5.0BSD 2-ClausedevelopmentGithub4.1 5.0
softpurgeSoft purge4.1FreeBSDmatureGithub4.1Varnish Software
statsdStatsd – Varnish stats3.0FreeBSDmatureGithub3.0
stdstd – the standard VMOD3.0 4.0 4.1 masterFreeBSDincludedGithub3.0 4.0 4.1 masterVarnish Software
synthsynth4.1FreeBSDdevelopmentGithub4.1
tbfToken Bucket Filtering4.0 4.1 5.1GPLv2matureRepos4.0 4.1 5.1Norse Digital
threescaleAPI Proxy3.0FreeBSDmatureGithub3.0
throttleThrottle3.0FreeBSDmatureGithub3.0
timersVarnish Timers (timing&duration)3.0FreeBSDmatureGithub3.0
timeutilsTime Utils3.0FreeBSDmatureGithub3.0
urlcodeURL Code4.1FreeBSDmatureGithub4.1
urlfilterlibvmod-urlfilter3.0OtherdevelopmentGithub3.0
urlsortURL Sort3.0FreeBSDmatureGithub3.0
utf8Unicode normalization, case-folding and other operations4.1 6.0 6.1 masterBSD 2-ClausematureGithub4.1 6.0 6.1 master
utilslibvmod-utils3.0OthermatureGithub3.0
uuidUUID3.0 4.0 4.1 5.0 5.1 5.2 6.0 masterApache2matureGithub3.0 4.0 4.1 5.0 5.1 5.2 6.0 master
varVariable Support4.1FreeBSDmatureGithub4.1Varnish Software
variableEnhanced variable support4.0 4.1 5.1GPLv2matureRepos4.0 4.1 5.1Norse Digital
vslpVSLP (StateLess Persistence) aka shard4.0 4.1 masterFreeBSDincluded in Varnish-Cache since release 5.0 as the shard directorRepos4.0 4.1 masterUPLEX
vsthrottlevsthrottle – Rate-limiting/throttling (v4 and later)4.1FreeBSDmatureGithub4.1
weightadjustrandom director with dynamically adjustable weights4.1 5.1 5.2 masterFreeBSDmatureRepos4.1 5.1 5.2 masterUPLEX
wurflWURFL by ScientiaMobile (www.scientiamobile.com) gives developers high-performance device detection.OthermatureScientiaMobile Inc.
xkeyXkey (Hash-Two, Surrogate keys)4.1FreeBSDmatureGithub4.1Varnish Software
zlibUncompress request’s body before sending it to the backend.4.1BSD 2-ClausedevelopmentGithub4.1

Request a free trial