Varnish as a redirector for a millions URLs

Aleem B aleemb at
Thu May 23 17:37:48 CEST 2013

> Then you can either have a backend server do the lookup and have varnish
> cache the result, or you can write a VMOD for varnish which does the lookup
> and generate the redirects that way.

The database of URLS won't change (these are legacy domains). Is there any
way manually insert a 301 redirect entry to the varnish cache? Can the VMOD
do that? If yes, is there anyway for the VMOD to protect entries from
getting wiped out by LRU (make them static)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-dev mailing list