Varnish cache setup in a multiserver env

Hello. I’m currently running 3 droplets with a Load Balancer ahead of them, a separate Redis droplet, a Mysql Cluster, an Elasticsearch droplet and a Spaces CDN. I’m runing Laravel btw.

I haven’t tried Varnish Cache before and I’m completely new to it, so should I add it in front of the LB or should I add it on each of those 3 droplets. By my logic, it should be in front of the LB.

I’d appreciate any hint. Thanks


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!