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.

Caching and Proxying the Fetching of Dependencies

1 pointsby nilsandreyabout 5 years ago

1 comment

nilsandreyabout 5 years ago
From Node Weekly #326[1]:<p>The Main npm Repository Suffered an Outage on Monday[2] – But Here&#x27;s What to Do For Next Time.. — For a period of time on Monday, the main npm repository was returning 429 “Too Many Requests” responses, breaking some people’s installations and CI processes (here’s a postmortem of why[3] – it was due to a Cloudflare policy change and not npm&#x27;s fault).<p>This sort of thing happens from time to time, but is a good reminder to be aware of being able to switch to alternative mirrors[4] or begin caching and proxying the fetching of dependencies via a tool like Verdaccio[5]. More ideas in this Twitter thread[6].<p>[1] <a href="https:&#x2F;&#x2F;nodeweekly.com&#x2F;issues&#x2F;326" rel="nofollow">https:&#x2F;&#x2F;nodeweekly.com&#x2F;issues&#x2F;326</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;npm&#x2F;cli&#x2F;issues&#x2F;836" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;npm&#x2F;cli&#x2F;issues&#x2F;836</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;npm&#x2F;cli&#x2F;issues&#x2F;836#issuecomment-587019096" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;npm&#x2F;cli&#x2F;issues&#x2F;836#issuecomment-587019096</a><p>[4] <a href="https:&#x2F;&#x2F;open-registry.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;open-registry.dev&#x2F;</a><p>[5] <a href="https:&#x2F;&#x2F;verdaccio.org&#x2F;en&#x2F;" rel="nofollow">https:&#x2F;&#x2F;verdaccio.org&#x2F;en&#x2F;</a><p>[6] <a href="https:&#x2F;&#x2F;twitter.com&#x2F;bitandbang&#x2F;status&#x2F;1229467759437910016" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;bitandbang&#x2F;status&#x2F;1229467759437910016</a>