index.js
function isFresh (req, res) {
  return fresh(req.headers, {
    'etag': res.getHeader('ETag'),
    'last-modified': res.getHeader('Last-Modified')
  })
}
function isFresh (req, res) {
  return fresh(req.headers, {
    'etag': res.getHeader('ETag'),
    'last-modified': res.getHeader('Last-Modified')
  })
}
function isFresh ( req , res ) { return fresh ( req . headers , { 'etag' : res . getHeader ( 'ETag' ) , 'last-modified' : res . getHeader ( 'Last-Modified' ) } ) }
Determine if the cached representation is fresh.

@param {object} req
@param {object} res
@return {boolean}
@private
Determine if the cached representation is fresh .