Skip to content

perf: add server fetch cache for api responses#183

Merged
danielroe merged 4 commits intomainfrom
feat/fetch-cache
Jan 27, 2026
Merged

perf: add server fetch cache for api responses#183
danielroe merged 4 commits intomainfrom
feat/fetch-cache

Conversation

@danielroe
Copy link
Copy Markdown
Member

this should help with the 'cold start' issue on new deployments

#3

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
npmx.dev Ready Ready Preview, Comment Jan 27, 2026 5:25pm

Request Review

Resolve conflict in useNpmRegistry.ts:
- Keep both fetchNpmDownloadsRange (exported for external use) and
  usePackageWeeklyDownloadEvolution (composable with SWR caching)
@danielroe danielroe merged commit 4232ae2 into main Jan 27, 2026
8 checks passed
@danielroe danielroe deleted the feat/fetch-cache branch January 27, 2026 17:29
@serhalp
Copy link
Copy Markdown
Member

serhalp commented Jan 28, 2026

👁️👁️ Fascinating patterns! 💯

vinnymac pushed a commit to vinnymac/npmx.dev that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants