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: Customizing Cloudflare's cache – Cloudflare Help Center 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