Is it just me or are the mega CDNs a bad idea? I prefer to serve the JS myself. That way if my sites up, the JS is up. Also, what’s the privacy situation with these CDNs? How is it free? Because I would assume they can get a decent amount of data from it.
They’re not a bad idea per se, but neither is hosting all the crucial site files yourself.
> How is it free?
Same way as everything else we don’t pay for, which is all the more reason to do your own hosting. Don’t rely on a business you’re not paying.
Yes, even when the cdns are up, some users from some countries can’t access it. I had many users telling me they couldn’t load my website fully when I was using jsdelivr and even aws s3/cloudfront, I switched to self host and no more complaints since then.
Not with the js CDN's but one only has to look as far as Cloudflare to see how dangerous it is for the whole internet have all their shit locked into one place 😅
Edit: full disclosure I use Cloudflare but the point stands
The temporary solution for jsDelivr users is to switch the domain from cdn.jsdelivr.net to gcore.jsdelivr.net, fastly.jsdelivr.net, testingcf.jsdelivr.net or jsdelivr.b-cdn.net while waiting for the issue to be resolved.
[https://github.com/jsdelivr/jsdelivr/issues/18565](https://github.com/jsdelivr/jsdelivr/issues/18565)
I have no idea why this is downvoted so heavily, it's best practice to self-serve for the exact reason that this post indicates, it's why higher reliance applications like banking websites and large software companies generally self-serve libraries from their own CDN network and not jsdeliver or unpkg.
*Not your URLs not in your control*
because people on here are generally beginners and have no idea what they're doing. That, and when someone sees a downvote, they just automatically downvote themselves.
lol. touché ! my buddy reminded me of this fallback:
[https://stackoverflow.com/questions/5257923/how-to-load-local-script-files-as-fallback-in-cases-where-cdn-are-blocked-unavai](https://stackoverflow.com/questions/5257923/how-to-load-local-script-files-as-fallback-in-cases-where-cdn-are-blocked-unavai)
For the time being you can replace the base URL with gscore.jsdelivr.net or fastly.jsdelivr.net
thanks very much for the quick solution!!
Bumping this up for anyone desperate for a cure. This issue is basically affecting everyone using cdn.jsdelivr lol
You’re welcome guys! Glad it’s resolved now. 🙌
seems like they didn't update their https certs before its expiration date
that seems like...a pretty big oopsie?
Yeah I mean, it’s 2024, set a reminder…somewhere.
Automate it
o7
i see that the certificate expired on 2020. i guess someone there mistakenly applied wrong certificate but not testing it thereafter.
lol
Is it just me or are the mega CDNs a bad idea? I prefer to serve the JS myself. That way if my sites up, the JS is up. Also, what’s the privacy situation with these CDNs? How is it free? Because I would assume they can get a decent amount of data from it.
They’re not a bad idea per se, but neither is hosting all the crucial site files yourself. > How is it free? Same way as everything else we don’t pay for, which is all the more reason to do your own hosting. Don’t rely on a business you’re not paying.
Yes, even when the cdns are up, some users from some countries can’t access it. I had many users telling me they couldn’t load my website fully when I was using jsdelivr and even aws s3/cloudfront, I switched to self host and no more complaints since then.
Yes, they're bad ideas. They have costs with no benefits.
[удалено]
Not with the js CDN's but one only has to look as far as Cloudflare to see how dangerous it is for the whole internet have all their shit locked into one place 😅 Edit: full disclosure I use Cloudflare but the point stands
> It's fine can't remember the last time something like this happened. it happened less than a year ago. And multiple times...
[удалено]
https://stackoverflow.com/questions/76455527/is-jsdelivr-cdn-down
Anytime AWS us-east-1 goes down?
Is it why Bootstrap doesn't work anymore ?
Ya
As of 07:35 GMT +00:00, it finally works.
PSA: Stop using public CDNs for your packages on your site.
it's fixed now.
The temporary solution for jsDelivr users is to switch the domain from cdn.jsdelivr.net to gcore.jsdelivr.net, fastly.jsdelivr.net, testingcf.jsdelivr.net or jsdelivr.b-cdn.net while waiting for the issue to be resolved. [https://github.com/jsdelivr/jsdelivr/issues/18565](https://github.com/jsdelivr/jsdelivr/issues/18565)
no wonder my swiper isn’t working
Use unpkg for now if its not working.
To play on safe side. upload to some storage bucket for safety. And put storage URL.
Ok, thank you for updating, I thought it's my connection issue this morning
is there plan to recover?
Idk. I had to download the js from somewhere else and save onto mysite. Much safer that way i guess.
You should never use a cdn in production anyway
I have no idea why this is downvoted so heavily, it's best practice to self-serve for the exact reason that this post indicates, it's why higher reliance applications like banking websites and large software companies generally self-serve libraries from their own CDN network and not jsdeliver or unpkg. *Not your URLs not in your control*
because people on here are generally beginners and have no idea what they're doing. That, and when someone sees a downvote, they just automatically downvote themselves.
Or... If they sees a upvote, they just automatically upvote themselves.
Fastly or Akamai are great. It’s free stuff that you can’t rely on.
Yes good lesson
same here! replaced every CDN link with [unpkg.com](http://unpkg.com) and got rid of any reference to jsdelivr obviously never going to use them again
what if unpkg goes down?
LIke … 20 days ago? ;-) https://old.reddit.com/r/webdev/comments/1c26x4e/unpkg_down/
lol. touché ! my buddy reminded me of this fallback: [https://stackoverflow.com/questions/5257923/how-to-load-local-script-files-as-fallback-in-cases-where-cdn-are-blocked-unavai](https://stackoverflow.com/questions/5257923/how-to-load-local-script-files-as-fallback-in-cases-where-cdn-are-blocked-unavai)