Cloudflare Caching cause react app crashing

What is the name of the domain?

app.example.com.au

What is the issue you’re encountering

This is a silly problem to explain. Our react application crash (for limited user) if we enable cloudflare caching. Whenever we turn on Development Mode it starts working fine. Please tell me a way to never auto-turn-off Development Mode

What steps have you taken to resolve the issue?

Enable Development Mode in Cache

Hello there,

I’m afraid that is not an option to Development Mode · Cloudflare Cache (CDN) docs

When creating a cache rule, you have the option to select Bypass cache if you want matching incoming requests to not be cached. Alternatively, you can use Development Mode, if you want to bypass cache for shorter periods.

You may consider creating a Cache Rules · Cloudflare Cache (CDN) docs to bypass the cache level on the URLs where your react application crash.

Find more on Cache Rules settings · Cloudflare Cache (CDN) docs

1 Like