CloudFlare LoadBalancer: force request to a specific origin
Hey I am using the CloudFlare load balancer for a NextJS project using On-Demand Cache revalidation which uses an API route to revalidate cache for a specific route or tag, is there anyway I can force the load balancer to send the API request to a specific origin?
I guess I could probably create a rule that checks if the the request has a specifc header and if so route the request to a specific orign. However as this is a SaaS project having a large amount of Load Balancer rules might become expensive so I'm hoping there is a better alternative.
0 Replies