-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Support Request
Hi,
We are looking to use Blitz with our Craft installation to cache pages using the "Server Rewrites" feature to serve pre generated static pages from Nginx. We wish to use this server rewrites version of Blitz instead of just Blitz caching with centralised Redis storage, as the server rewrites feature will give us the improved performance which we need.
However we have multiple servers running Craft behind a Load Balancer and are unsure on the best ways to invalidate the caches across all of these nodes when content changes. I found this issue from 2021 which raises a similar question, but was wondering if anything has changed in regards to these multi server deployments in the last few years.
From reading the documentation it looks like our options are:
- Run the Cache Purge commands via a CronJob on every server, and accept that there will be a delay between content being updated and caches refreshed on every node
- Write our own Reverse Proxy Purger that $SOMEHOW issues a Cache Purge command on each server
- Place a centralised Nginx infront of our Craft Servers, and use the "Remote Deployer" to ship the cached files to this centralised Nginx Server
Have we missed anything or are these are options for moving forward with Bliz?
Thanks for your help!
Plugin Version
No response