Varnish as a redirector for a millions URLs

Aleem B aleemb at gmail.com
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)?

Thanks,
Aleem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20130523/edecc9c7/attachment.html>


More information about the varnish-dev mailing list