Skip to main content

Storage

Persist and retrieve data behind a single, portable API.

  • Cache — Caching with pluggable stores (in-memory, Redis, etc.), TTL policies, and stampede protection.
  • File Storage — Abstract file storage with adapters for local disk, S3-compatible, and other backends, upload, stream, and serve with one API.

Existing middlewares​

Beyond the components themselves, every component provides middleware factories for composing component behavior around your own functions. Wrap a function with use() or method with enhance() and apply any of the following middlewares.