Module salvo_extra::caching_headers

source ·
Available on crate feature caching-headers only.
Expand description

§Salvo handlers for etag and last-modified-since headers.

This crate provides three handlers: ETag, Modified, and CachingHeaders. Unless you are sure that you don’t want either etag or last-modified behavior, please use the combined CachingHeaders handler.

Structs§

  • A combined handler that provides both ETag and Modified behavior.
  • Etag and If-None-Match header handler
  • A handler for the Last-Modified and If-Modified-Since header interaction.