Enhanced prompt cache and sticky session management plugin for OpenCode, especially effective for AI API relay/gateway setups with stable SHA256-based cache keys.
-
Updated
Feb 14, 2026 - JavaScript
Enhanced prompt cache and sticky session management plugin for OpenCode, especially effective for AI API relay/gateway setups with stable SHA256-based cache keys.
Canonicalize Varnish cache keys by sorting URL query parameters
RFC 8785 (JCS) canonical JSON serialization and stable hashing for any JS value. Zero dependencies, ESM + CJS, typed errors.
[ARCHIVED] Moved to cplieger/go as the keyenc module, which also publishes @cplieger/keyenc
Deterministic JSON.stringify: sorted keys, cycle detection, streaming generator API, hashObject sha256 helper
Find GitHub Actions hashFiles() patterns that match no files, so a cache key silently freezes instead of erroring.
Reproducible lab testing how Next.js "use cache" builds cache keys. Covers 54 input pairs on 16.4.4, 16.4.5 and 16.4.6, real key strings, File and Uint8Array collisions before 16.4.5, Server Action uploads, metadata workarounds, closures and argument size limits.
Deterministic, cycle-aware JSON serialization with a fast-json-stable-stringify-compatible API and RFC 8785 canonicalization. Maintained by Stackline.
Proxy-Wasm cache key normalizer for Varnish and vmod-wasm
Content-hash entire directory trees. Zero deps. Perfect for CI cache keys, build verification, and change detection.
To associate your repository with the cache-key topic, visit your repo's landing page and select "manage topics."