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§
- Etag and If-None-Match header handler
- A handler for the
Last-Modified
andIf-Modified-Since
header interaction.