In core PHP, I created a REST API. This API is used to fetch data from a server in a mobile app. We now have a situation where the app is being used by 10,000 people at the same time.
The server (Amazon EC2 UBUNTU 12.04) fails when all of these users are using the app at the same time. We’ve opted to employ Cloudflare to tackle this problem. Even after a lot of study, it’s still unclear how to utilise Cloudflare to cache API responses.
Below are few links that I have followed so far: https://support.cloudflare.com/hc/en-us/articles/202775670-How-Do-I-Tell-Cloudflare-What-to-Cache- Introducing Page Rules: Advanced Caching (Including Configurable HTML Caching) .
On our Cloudflare account, we’ve already specified the CNAME and HOST details. Could someone please assist me in determining what implementation is required? Or whether this is even possible at all?
Here is my site: subscriptionflow.com
Thanks in Advance