Allow fallback to hosted js files without cdn
See original GitHub issueTried to use graphiql provided by this package on an intranet without an internet connection, horrible experience, everything is loaded from cdn.
Similar issues in other flavours of graphiql, seems like I’m not the only one having this issue. exponentjs/koa-graphiql#1
This was already fixed in the example/
for graphiql itself: graphql/graphiql#135
Could we please have a fallback where if the cdn fails to load the files it loads a local copy?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Allow fallback to hosted js files without cdn · Issue #135 - GitHub
Tried to use graphiql on an intranet without an internet connection, horrible experience, everything is loaded from cdn.
Read more >How to load local script files as fallback in cases where CDN ...
First try to load the CDN file by inserting a new SCRIPT element into the DOM. Then check that it has loaded by...
Read more >CDNs fail, but your scripts don't have to - fallback from CDN to ...
Falling back from CDN to local copies of jQuery and JavaScript. The basic idea for CDN fallback is to check for a type...
Read more >Is there a way to define a JS library that will use a CDN as a ...
Example: Define a billboard.js library that will use the local version of files from libraries directory and fall back to one provided from ......
Read more >Using jQuery and Bootstrap from a CDN with fallback scripts in ...
In this post I show how to update the default Razor layouts to load CSS and JS files from a CDN, and how...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
or perhaps something like bellow? Though the advantage of the local flag is that it wouldn’t even bother trying to hit the external network.
CDN usage was completely removed in #524