ARW

HTTP Caching Semantics (Digest Blobs)

Updated: 2025-09-16 Type: Reference

For endpoints that serve immutable, digest‑addressed blobs (e.g., /admin/models/by-hash/{sha256}):

Examples:

# HEAD with ETag validator; 304 if unchanged
curl -I \
  -H 'If-None-Match: "<sha256>"' \
  http://localhost:8091/admin/models/by-hash/<sha256>

# GET a slice (first 1KB)
curl -H 'Range: bytes=0-1023' \
  http://localhost:8091/admin/models/by-hash/<sha256>