{"library":"cf-workers-query","type":"library","category":null,"description":"A lightweight caching and revalidation library for Cloudflare Workers, using the Cache API and waitUntil for background revalidation. Version 0.11.5 is the latest stable release, with monthly updates. Key differentiators: stale-while-revalidate pattern, deduplication via Cache API markers, optional Durable Objects for guaranteed single-flight, and built-in Hono integration. Unlike TanStack Query, it is purpose-built for Workers with no external dependencies except Hono (v4+). Supports probabilistic stampede prevention and fine-grained retry logic.","language":"javascript","status":"active","version":"0.11.5","tags":["javascript","rest","cloudflare workers","query","cache","cloudflare","workers","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cf-workers-query","imports":["import { createQuery } from 'cf-workers-query'","import { cache } from 'cf-workers-query/hono'","export { QueryDeduper } from 'cf-workers-query/durable-object'"]},{"cmd":"yarn add cf-workers-query","imports":[]},{"cmd":"pnpm add cf-workers-query","imports":[]}],"homepage":"https://github.com/anymaniax/cf-workers-query#readme","github":"https://github.com/anymaniax/cf-workers-query","docs":null,"changelog":null,"pypi":null,"npm":"cf-workers-query","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}