Skip to content

Comment on Tell HN: Have a look at Varnish

Comments

Why would Varnish be required in that situation if you're already running nginx which is perfectly capable of caching a simple wordpress site in the same manner.

I don't think it's required, but, really, why wouldn't you be running varnish? It's just amazing.

Because it doesn't add anything useful to the mix - nginx's cache works just fine.

Sure it does, it adds ESI (which is fantastic). It also keeps backend connections open rather can creating/destroying them for each request. Varnish does restarts nicely too, we have requests that get passed on to another group of servers if the backend returns errors. It's really a very nice way of brokering http requests.

I think the point is 'in this situation'. Of course there are places where Varnish's features are useful, just not here.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.