Skip to content

Implement redis caching with invalidation#1

Draft
mykcryptodev wants to merge 1 commit intomainfrom
cursor/implement-redis-caching-with-invalidation-8f3a
Draft

Implement redis caching with invalidation#1
mykcryptodev wants to merge 1 commit intomainfrom
cursor/implement-redis-caching-with-invalidation-8f3a

Conversation

@mykcryptodev
Copy link
Owner

Add Upstash Redis caching to improve API response times and reduce external calls for wallet token data.

This implementation includes a getOrSetCache utility for automatic cache-then-fetch logic, comprehensive invalidation helpers (single key, pattern, namespace), a dedicated API route for cache management, and a client-side hook for UI-driven invalidation.


Open in WebOpen in CursorOpen Docs

Co-authored-by: mykcryptodev <mykcryptodev@gmail.com>
@vercel
Copy link

vercel bot commented Jul 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wallet-sweep ❌ Failed (Inspect) Jul 27, 2025 0:00am

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