CONDITIONALGET()

NAME
conditionalGet

Conditional GET
The conditionalGet middleware supports conditional GET requests, which validates the "freshness" of a response body. Currently supports:

•   If-Modified-Since. When a response status is 200, and Last-Modified less than or equal to this time, the response body and Content-* headers will be stripped, responding with 304 "Not Modified".

•   If-None_Match. Performs a similar validation, however compares the ETag for equality.