I couldn’t explain in detail in the main post, so I will do it here.
My application is a SaaS, based on different websites most which are subdomains; the clients can manage their own communities. User accounts are global in the system and each user can easily navigate from one community website to another.
What I’m trying to manage is to have a generic CDN url for the bundle so that while navigating in between different domains/subdomains, users don’t need to load the same bundle from different websites over and over again.
I managed to do the thing in the application code level. However I cannot configure Cloudflare to give me a url that the app can be loaded from regardless of the website.