What are the primary use cases for Cloudflare Workers KV?
Cloudflare Workers KV is ideal for caching API responses, storing user configurations and preferences, and managing user authentication details. It excels in scenarios requiring high read volumes with low latency across a global network.
How can I interact with a Workers KV namespace from an external application?
You can access your Workers KV namespace from an external application using the REST API. Cloudflare provides pre-generated SDKs for TypeScript, Python, and Go to simplify integration.
What are the daily limits for key reads and writes on the Workers Free plan?
On the Workers Free plan, you are limited to 100,000 key reads per day and 1,000 key writes per day. All limits reset daily at 00:00 UTC.
Do operations performed through the Cloudflare dashboard or Wrangler CLI count towards billable usage?
Yes, any operations executed via the Cloudflare dashboard or the Wrangler command-line interface, including updating, deleting, or listing keys in a namespace, are counted as billable KV usage.
Does Cloudflare Workers KV charge for data transfer or egress?
No, Cloudflare Workers KV does not charge for data transfer or egress. This means you will not incur additional costs for data moving out of the KV store.
When should I choose Workers KV over other Cloudflare storage options like R2 or D1?
Workers KV is best suited for configuration data, service routing metadata, personalization, and session storage that require high read volumes and low-latency global reads. For large unstructured data without egress fees, R2 is more appropriate, while D1 is designed for lightweight SQL relational data.