hyperlane-plugin-etag 23.3.0

An opt-in automatic ETag and HTTP conditional request plugin for the Hyperlane framework providing strong/weak XxHash3_64 entity tags, zero-allocation If-None-Match 304 Not Modified, and If-Match 412 Precondition Failed optimistic concurrency.
Documentation

hyperlane-plugin-etag

Opt-in automatic ETag and HTTP conditional request middleware for Hyperlane.

Features

  • Fast stack-formatted strong ("<hex>") and weak (W/"<hex>") XxHash3_64 ETags.
  • Zero-allocation If-None-Match -> 304 Not Modified on GET/HEAD responses.
  • RFC 9110 §13.1.1 If-Match optimistic concurrency enforcement (412 Precondition Failed) via pluggable EtagValidator.
  • Opt-in and transparent (Status::Continue) when unconfigured (-72 / -58).