HTML Cache

Full-page HTML cache that Nginx serves directly for Next.js and Node.js sites

Community 0 26/wk ISC v1.0.2

Installation

pnpm add @xoisr/html-cache

About

HTML Cache keeps rendered pages on disk so Nginx can answer repeat requests without running Node.js. Cached pages are served as plain HTML or pre-compressed gzip straight from the filesystem, keeping response times under a millisecond on hits. Misses pass through to the Next.js or Node.js app as usual.

Pages refresh when a CMS webhook or build step reports a change, so edits show up without waiting for expiry. Revision checks discard late webhook deliveries, so an older render cannot replace a newer one. Only allowlisted query parameters are cached, and tracking parameters are stripped.

Package info

Package name
@xoisr/html-cache
Latest version
1.0.2
Unpacked size
165 kB
License
ISC
Weekly downloads
26
Last publish
Oct 29, 2026

React hook and refresh component for Payload Live Preview in frontend apps

Vue composable that wires a Payload Live Preview into a Vue frontend

React admin bar that puts Payload editing controls on your frontend pages

Client SDK that streams live Payload draft edits into a frontend preview

Renders Lexical rich text content from Payload in Astro sites

Manifest, linter and Payload block generator for a design system's components