You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 2, 2020. It is now read-only.
Can a local file be used as a fallback if the CDN location fails?
Can a CDN location be used as a fallback if the local file is missing?
My use case is that I want to load the js & css from a CDN in almost all cases, except that some deployments will have all CDNs blocked and will need to fall back to local files. To simplify development, testing, and deployment, I'd rather not have local copies of the JS & CSS because they won't be necessary the majority of the time, but it would be nice to provide an easy solution for the rare cases that will need a local copy.
I don't see this option in any examples or documentation. I haven't tried it yet, but I am planning on trying a local relative file path as a URL to see if that works or not.
If this is not currently possible, I'd like to see it added as a possibility. ( Feature Request )
This seems to be one of the best options to do what I need with native functionality: