varnish.vcl RO
sub vcl_recv {
if (req.method == "PURGE") {
return (purge);
}
}
Architecture
Why We Chose Varnish Over Next.js Caching
Next.js `revalidate` is convenient, but it locks you into the Node.js runtime. Here is why we moved to Varnish for our news CMS to handle 10k req/sec.