Files
expressjs.com/en/api/req-stale.jade
TJ Holowaychuk 9e957d4e2c Initial commit
2012-07-31 20:33:12 -07:00

11 lines
211 B
Plaintext

section
h3(id='req.stale') req.stale
p.
Check if the request is stale - aka Last-Modified and/or the ETag do not match,
indicating that the resource is "stale".
+js.
req.stale
// => true