diff --git a/src/index.js b/src/index.js index f60a812..30cdf56 100644 --- a/src/index.js +++ b/src/index.js @@ -127,7 +127,7 @@ module.exports = function (req, res, logFacilities, config, next) { !maximumCachedResponseSizeExceeded && shouldCacheResponse( responseCacheControl, - req.headers.authentication !== undefined + req.headers.authorization !== undefined ) ) { if (!responseCacheControl["max-age"])