@kimoxstudio/cache-memory
v0.2.1
Published
In-memory cache implementation for kimox-fw.
Readme
@kimoxstudio/cache-memory
In-memory cache.
The default Cache implementation: an LRU with tag-based invalidation, enough
for a single long-lived server process.
import { createMemoryCache } from "@kimoxstudio/cache-memory";
const cache = createMemoryCache({ maxItems: 500 });Production content is cached until invalidated by tag (the webhook route does this on push/merge). On serverless each instance keeps its own copy, so swap in a shared cache if you need cross-instance consistency.
Part of kimox-fw
kimox-fw is a JSON-document + template site framework for Next.js (App Router): pages are declarative JSON documents rendered by Zod-typed templates, with content stored in git and edited through a visual admin using draft branches ("variations").
Scaffold a whole site with npx create-kx-app.
MIT © Kimox Studio
