# Storage

The Quickback Stack uses Cloudflare's storage primitives for different use cases.

## Storage Types

| Service | Use Case | Pages |
|---------|----------|-------|
| **KV** | Sessions, caching, rate limiting | [Setup](/stack/storage/kv) · [Usage](/stack/storage/using-kv) |
| **R2** | File uploads, avatars, attachments | [Setup](/stack/storage/r2) · [Usage](/stack/storage/using-r2) |

## Getting Started

- **[KV Setup](/stack/storage/kv)** — Namespace and bindings configuration
- **[Using KV](/stack/storage/using-kv)** — Sessions, caching, rate limiting
- **[R2 Setup](/stack/storage/r2)** — Bucket, bindings, CORS configuration
- **[Using R2](/stack/storage/using-r2)** — Uploads, downloads, role-based access
