Hacker News new | ask | show | jobs
by sandGorgon 4267 days ago
so, what's the answer - this is why Varnish is so confusing. I have my non-www to www redirects working perfectly on nginx.

should I do anything special in varnish, or should I trust it to cache the nginx redirect headers by itself ?

1 comments

The answer is have nginx do the redirect, varnish will handle it correctly