Back to Expressjs

Req Fresh

_includes/api/en/3x/req-fresh.md

latest199 B
Original Source
<h3 id='req.fresh'>req.fresh</h3>

Check if the request is fresh - aka Last-Modified and/or the ETag still match, indicating that the resource is "fresh".

js
console.dir(req.fresh)
// => true