Cloud//Cloudflare//Workers KV
Cloudflare's distributed key-value store. Despite being persistent storage, it's often called "cache" because it's optimized for high-frequency reads from Workers.
Cloudflare's distributed key-value store. Despite being persistent storage, it's often called "cache" because it's optimized for high-frequency reads from Workers.
Key → value. Values can be text, JSON, or binary blobs (up to 25MB)
Eventually consistent: writes propagate globally within ~60 seconds
Optimized for read-heavy patterns — reads are fast at the edge, writes are slower
Use cases: configuration, feature flags, session data, cached API responses
Named "Workers KV" because it's designed to be accessed from Workers — not a standalone database, more like a fast distributed dictionary
Different from D1 (SQL, structured data with queries) and R2 (large files, object storage). KV is for small values you need to read fast at the edge.