cf-workers-query
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 9
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇮🇩 Indonesia · 🇨🇦 Canada · 🇫🇮 Finland
Resources
packagecf-workers-query ↗