Skip to content

Add exact-key invalidation APIs#42

Merged
flyingsquirrel0419 merged 4 commits intoMergefrom
feature/exact-key-invalidation-40
May 3, 2026
Merged

Add exact-key invalidation APIs#42
flyingsquirrel0419 merged 4 commits intoMergefrom
feature/exact-key-invalidation-40

Conversation

@flyingsquirrel0419
Copy link
Copy Markdown
Owner

Summary

  • add invalidateByKey/invalidateByKeys aliases for exact-key deletion
  • add expireByKey/expireByKeys for stale-preserving exact-key expiration
  • expose the same APIs on CacheNamespace and document the alias/expiration behavior

Fixes #40

Verification

  • npm run build
  • npm run lint
  • npm test
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

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

Project Deployment Actions Updated (UTC)
layercache-docs Ready Ready Preview, Comment May 3, 2026 5:03am

# Conflicts:
#	src/CacheNamespace.ts
#	src/CacheStack.ts
@flyingsquirrel0419 flyingsquirrel0419 merged commit 4a49a6e into Merge May 3, 2026
4 checks passed
@flyingsquirrel0419 flyingsquirrel0419 deleted the feature/exact-key-invalidation-40 branch May 3, 2026 05:36
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.

feat: invalidateByKey, invalidateByKeys, expireByKey, expireByKeys

1 participant