Back

wrap-not-modified (clj)

(source)

function

(wrap-not-modified handler)
Middleware that returns a 304 Not Modified from the wrapped handler if the handler response has an ETag or Last-Modified header, and the request has a If-None-Match or If-Modified-Since header that matches the response.

Examples