I have a emergency situation where i need to serve cached php file (too many users online and my hosting provider blocking my webpage).
The php file is generating json object for my mobile app and since it doesn’t have to change that often I decided to cache it. I have simply put the generated JSON msg in the file (still named getfeed.php) but cannot change the file extension as its part of the API (would need to update mobile app to point to new extension file)
The problem is after creating rule mywebsite.com/api/* with following settings: Browser Cache TTL: 2 days, Always Online: On, Cache Level: Cache Everything, Edge Cache TTL: 2 days
I still get OkHttp: cf-cache-status: DYNAMIC for that url.
Any help on that one? Do i need to wait couple hours for CF cache to start working?