diff --git a/index.js b/index.js index fc3dea7..756295c 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ * @private */ -var CACHE_CONTROL_NO_CACHE_REGEXP = /(?:^|,)\s*?no-cache\s*?(?:,|$)/ +var CACHE_CONTROL_NO_CACHE_REGEXP = /\bno-cache\b/ /** * Module exports.