Varnish as a redirector for a millions URLs

Poul-Henning Kamp phk at phk.freebsd.dk
Thu May 23 15:37:36 CEST 2013


In message <CA+=Uhp_pepXsb6Q_ORQpYe+AhWSh_yytRNjKBzBBA_FxwJb28Q at mail.gmail.com>

>I currently use nginx + redis + lua module to setup redirects for close to
>a million old URLs that have been ported to a new platform.

Are the redirects based on rules ?

Ie, something like:

	/article?ID=#####  -> /#####

or is it a database lookup to figure out the mapping ?



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



More information about the varnish-dev mailing list