alepha@docs:~/docs/packages/alepha/server$
cat etag.md
1 min read
Last commit:

#Alepha - Server Etag

#Installation

Part of the alepha package. Import from alepha/server/etag.

npm install alepha

#Overview

ETag-based response caching.

Features:

  • ETag generation and validation
  • Conditional request handling (304 Not Modified)
  • Optional response caching (store)
  • Cache-Control header support

#API Reference

#Primitives

  • $etag — Middleware that enables ETag-based response caching per-route.