Astra Theme Causing Issues With Cloudflare?
I'm facing an issue on my website https://greencodeuk.com/ which uses the Astra theme with Cloudflare integration. The website sometimes experiences problems with cross-origin requests, especially CORS preflight (OPTIONS) requests. It seems that Cloudflare security checks may be blocking some of these requests because they don't include the cf_clearance cookie. This causes some API calls and cross-domain requests to fail.
I've already discussed this with my hosting provider, and they suggested discontinuing Cloudflare. However, I'd prefer to keep using Cloudflare if possible.
Has anyone experienced similar issues while using the Astra theme with Cloudflare? Could this be related to Cloudflare security settings, caching, or how Astra handles cross-origin requests? I'd appreciate any technical suggestions on how to fix this without disabling Cloudflare.