In message <CA+=uhp8eb6a6tgerfompidg1od15qaw+zlbsuu+zta++s4w...@mail.gmail.com>
, Aleem B writes:

>It's based on a DB lookup. Currently I am using NGINX + Redis and there are
>about a million URLs.

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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to