Skip to main content

X_CACHE_DIGEST

Constant X_CACHE_DIGEST 

Source
pub const X_CACHE_DIGEST: &str = "x-cache-digest";
Expand description

The name of the x-cache-digest custom header.

This header is only present in the response when returning a body from the cache.

This can be used to read a body directly from cache storage rather than reading the body through the response.

This header is only present when a cached response body is being served from the cache.