release: WRNexusJS 0.7.0

This commit is contained in:
Clintchiz committed 2026-08-01 10:04:42 +05:30
1 parent c54144f2e4
commit 87507edf59
207 files changed
+12607 -679

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# @wrnexus/cache
Bounded in-memory/tag caching and HTTP response caching for WRNexusJS. Supports request deduplication, tag invalidation, ETags, fresh/stale states, and optional detached stale revalidation.
```ts
import { TagCache, responseCache } from "@wrnexus/cache";
const cache = new TagCache({ ttlMs: 60_000, staleWhileRevalidateMs: 300_000 });
export default responseCache({ cache, tags: ["products"] });
```