Skip to main content

Module cache

Module cache 

Source
Expand description

Cache-Control middleware for all HTTP responses.

Functionsยง

cache_control_layer
Returns a middleware layer that adds CACHE_CONTROL_VALUE to every response, overriding any existing Cache-Control header.