Proxy api.mydomain.com
Can i use cloudflare to proxy my api so i can use WAF rules, DDOS protection and so on?
For html content i can understand how it work with cloudflare. If cloudflare doesn't have the requested resource, cloudflare request origin server for this resource then cache it or not (depending on the various caching rule and header)
But for api where it's only dynamic i'm not sure i get it. First is it allowed? and cloudflare would just forward the request to origin server and then when my origin server respond, would respond back to the client ? And this for every api requests?
If it's allowed do you even need a load balancer? if cloudflare proxy is doing most of the same work?
For html content i can understand how it work with cloudflare. If cloudflare doesn't have the requested resource, cloudflare request origin server for this resource then cache it or not (depending on the various caching rule and header)
But for api where it's only dynamic i'm not sure i get it. First is it allowed? and cloudflare would just forward the request to origin server and then when my origin server respond, would respond back to the client ? And this for every api requests?
If it's allowed do you even need a load balancer? if cloudflare proxy is doing most of the same work?