>
> 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
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to