Caching
Database, file, or Redis-backed cache with explicit named keys (no tags fan-out where the driver doesn't support it). On-demand revalidation from admin writes via HMAC-signed POSTs to the Next.js dashboard's revalidateTag endpoint. Falls back to a TTL so a downed invalidator never pins stale data forever.
Projects
Packages (13)
- @philiprehberger/dotnet-cache-kitdotnet
Thread-safe in-memory cache for .NET — LRU/LFU eviction, TTL expiration, tag-based invalidation, cache warming, and configurable max size.
- @philiprehberger/go-cache-kitgo
Generic in-memory LRU cache with TTL, tags, eviction callbacks, stats, and thread safety for Go
- @philiprehberger/kt-cache-kitkotlin
Lightweight coroutine-aware in-memory cache with TTL and LRU eviction.
- @philiprehberger/laravel-cache-toolkitphp
Standardized cache key builder and tag-aware cache operations for Laravel with graceful fallback for non-tagging drivers
- @philiprehberger/py-cache-kitpython
Lightweight in-memory cache with TTL, LRU eviction, and tag-based invalidation.
- @philiprehberger/rb-cache-kitruby
In-memory LRU cache with TTL, tags, and thread safety
- @philiprehberger/rb-lruruby
Thread-safe LRU cache with TTL, eviction callbacks, and hit/miss statistics
- @philiprehberger/rb-memoruby
Practical memoization with TTL, LRU eviction, and thread-safety
- @philiprehberger/rs-cache-kitrust
Generic LRU cache with TTL, tags, and async support for Rust
- @philiprehberger/cache-kittypescript
In-memory LRU cache with TTL, stale-while-revalidate, and tag invalidation
- @philiprehberger/memo-tstypescript
Advanced memoization with TTL, LRU, and WeakMap support
- @philiprehberger/ts-local-storagetypescript
Type-safe localStorage wrapper with JSON serialization, TTL, and key prefixing
- @philiprehberger/ts-memo-maptypescript
Memoization with WeakMap support for object keys, LRU eviction, and TTL