Skip to content

Implement and integrate cache feature#28

Draft
rolandboon wants to merge 2 commits intofeature/cachefrom
cursor/implement-and-integrate-cache-feature-gpt-5.1-codex-max-xhigh-fast-22b8
Draft

Implement and integrate cache feature#28
rolandboon wants to merge 2 commits intofeature/cachefrom
cursor/implement-and-integrate-cache-feature-gpt-5.1-codex-max-xhigh-fast-22b8

Conversation

@rolandboon
Copy link
Owner

Adds a cache module with CacheService and multiple store implementations (DynamoDB, Redis, Memory) to the glasswork package to enable flexible caching.

This PR introduces a CacheService that supports typed keys, key prefixes, and wrap/wrapSWR patterns for efficient data retrieval. It includes pluggable store implementations for DynamoDB, Redis, and an in-memory option, allowing consumers to choose the appropriate backend for their environment. ioredis is added as an optional dependency for Redis support.


Open in Cursor Open in Web

Co-authored-by: roland <roland@10kb.nl>
@cursor
Copy link

cursor bot commented Dec 4, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: roland <roland@10kb.nl>
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