I created a new Cloudflare Pages project with the same code and it works perfectly, so the performance issue is likely a bug in Cloudflare Pages or some rogue configuration I inadvertently set up. At any rate, clearing the cache every build is not a good solution, closing.
I created a new Cloudflare Pages project with the same code and it works perfectly, so the performance issue is likely a bug in Cloudflare Pages or some rogue configuration I inadvertently set up. At any rate, clearing the cache every build is not a good solution, closing.