Comparing version 4.0.3 to 4.0.4
@@ -141,3 +141,3 @@ const { gzip } = require('zlib'); | ||
if (!ctx.response.get('Content-Encoding')) | ||
if (options.compression && !ctx.response.get('Content-Encoding')) | ||
ctx.response.set('Content-Encoding', 'identity'); | ||
@@ -144,0 +144,0 @@ |
{ | ||
"name": "koa-cash", | ||
"description": "HTTP response caching for Koa. HTTP response caching for Koa. Supports Redis, in-memory store, and more!", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", | ||
@@ -6,0 +6,0 @@ "ava": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24030