Skip to content

[graphiql] The https://unpkg.com/@graphiql/plugin-explorer/dist/index.umd.js sometimes take a very long time to load #3877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
ssprang opened this issue Mar 13, 2025 · 5 comments

Comments

@ssprang
Copy link

ssprang commented Mar 13, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi! 👋🏻

This is probably not on you but maybe on unpkg.com ? Not sure how to report to them though..

The last few days it can take up to 12 seconds to load https://unpkg.com/@graphiql/plugin-explorer/dist/index.umd.js which makes the graphiql explorer blank for that amount of time, is it possible to fix it somehow? 😇

Image Image

Expected Behavior

Usually the graphiql explorer is fast to load.

Steps To Reproduce

  1. Open the graphiql explorer for any graphql schema
    a) if it's fast, wait 5 minutes for the cache to expire or clear your browser caches
    b) if it's slow you've encountered the issue

Environment

  • GraphiQL Version: latest
  • OS: Mac Os
  • Browser: Chrome
  • Bundler: ?
  • react Version: ?
  • graphql Version: ?

Anything else?

No response

@ssprang
Copy link
Author

ssprang commented Mar 17, 2025

This is getting worse..
https://unpkg.com/react@18/umd/react.production.min.js took 90 seconds to load today.. I suspect unpkg has some caching issues, it renders the graphiql explorer unavailable for the time it takes to load these assets.

@stacey-gammon
Copy link

stacey-gammon commented Apr 1, 2025

unpkg appears to be completely down now?

@ssprang
Copy link
Author

ssprang commented Apr 3, 2025

Today the graphiql explorer won't load at all, critical resources are getting 520 errors most likely due to cloudflare/server issues for unpkg.

A 520 status code is related to Cloudflare. It is used by Cloudflare as a catch-all response for when the origin server sends something unexpected.

Image

@ssprang
Copy link
Author

ssprang commented Apr 3, 2025

Looking at the (unfortunately many) unpkg issues, others seems to be abandoning them for other cdns like https://www.jsdelivr.com/ ..

unpkg/unpkg#440
unpkg/unpkg#444

Could the graphiql explorer please consider switching too? 😇

@dimaMachina
Copy link
Collaborator

UMD CDN builds are deprecated, use ESM-based CDN instead, check out the migration guide for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants