diff --git a/lib/util/got/cache-get.ts b/lib/util/got/cache-get.ts index af9513be711386c6b65e30901128ce3b7a86f8e2..ac889634d4f39e8191bcef0dc756bbd9a0ae843e 100644 --- a/lib/util/got/cache-get.ts +++ b/lib/util/got/cache-get.ts @@ -15,6 +15,9 @@ export default create({ if (options.stream) { return next(options); } + if (!['github', 'npm'].includes(options.hostType)) { + return next(options); + } if (options.method === 'GET') { const cacheKey = crypto .createHash('md5')