TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Unpkg CDN down causing dependent website outages

40 pointsby ManWith2Plansabout 1 year ago

7 comments

apitmanabout 1 year ago
Unless you&#x27;re running a site that you know is constantly getting hits from all over the globe, using a CDN will make your site load slower for some users.<p>And you almost certainly don&#x27;t need one for scaling purposes. I&#x27;ve handled frontpage traffic multiple times without.<p>What I wish existed (or maybe does) is something like a CDN with ~8 global locations that promises to keep your static site in a warm cache for a small fee, without me having to set up a fly.io app manually. That would let my blog always load fast anywhere on the planet even for the first hit in a region.
评论 #40012980 未加载
评论 #40013211 未加载
评论 #40013200 未加载
grepfru_itabout 1 year ago
“Works on my machine”<p>Depend on external services, die by external services. If you can’t afford redundancy, then you must accept downtime.<p>I build all of my dependent libraries locally and bundle with my app. For one application, I maintain and build the entire OS from source. I depend on aws,azure cloud storage for my own hosted cdn. I can fail back to my own hosts if necessary.
CoastalCoderabout 1 year ago
This is one thing I never understood about web development.<p>I would have thought the risks from 3rd party production dependencies would make devs do all in their power to minimize them. But IIUC it&#x27;s a somewhat common practice.<p>Is there something about the market dynamics that make this a reasonable tradeoff? E.g., the problems are rare and this somehow allows faster time to market?<p>(Asking as a systems programmer, very much not a web developer.)
评论 #40012652 未加载
评论 #40012948 未加载
评论 #40013475 未加载
评论 #40012868 未加载
评论 #40015033 未加载
评论 #40012642 未加载
评论 #40012698 未加载
jimaekabout 1 year ago
I invite everyone affected to consider switching to a production focused CDN <a href="https:&#x2F;&#x2F;www.jsdelivr.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jsdelivr.com&#x2F;</a><p>There is also a tool to simplify migration <a href="https:&#x2F;&#x2F;www.jsdelivr.com&#x2F;unpkg" rel="nofollow">https:&#x2F;&#x2F;www.jsdelivr.com&#x2F;unpkg</a>
评论 #40012163 未加载
评论 #40013223 未加载
cagenutabout 1 year ago
its a fascinating little tech-anthropology quirk that front-end&#x2F;web developers use the term &quot;CDN&quot; to mean a different thing from how devops&#x2F;sre&#x2F;infra people use the term.<p>in the strictest sense, unpkg is not a cdn. unpkg is a javascript library hosting service that uses cloudflare as a cdn. cloudflare is not down, therefore this headline &quot;unpkg cdn down...&quot; reads as a massive &quot;oh shit!&quot; to infra&#x2F;devops type cloudflare customers who then have to immediately worry that their site is down, only to realize no, they&#x27;re fine, this is just devs using the term to mean a different thing (roughly: &quot;third party javascript host&quot;).
评论 #40013448 未加载
pier25about 1 year ago
So what was the issue?<p>Unpkg runs on Fly with Cloudflare as CDN.
taspeotisabout 1 year ago
I assume the developers who use a free third party service for serving their dependencies are the same devs who :pikachu_face: when they are told they can’t statically link GPL libraries into their proprietary apps.
评论 #40012415 未加载