JosephSilber / page-cache

Caches responses as static files on disk for lightning fast page loads.
MIT License
1.21k stars 118 forks source link

Caching on a Load balanced Server #76

Closed cliffordacion closed 2 years ago

cliffordacion commented 3 years ago

Does this work for a load balanced server? I can see it working perfectly fine on a single server but for load balanced ones, or those using orchestrated containers, it could be a problemo...

MarcosBL commented 2 years ago

If you got load balanced servers, you have access to your own nginx configuration, just put nginx cache/varnish/whatever in front of your domain and skip the app totally

JosephSilber commented 2 years ago

As @MarcosBL said: when you get to a more complex setup, there are better solutions out there.