From ef015fc7a1debdd2a774b9e78dcce76f4744fd1b Mon Sep 17 00:00:00 2001 From: Caleb Gosiak Date: Thu, 30 Sep 2021 17:28:58 -0500 Subject: [PATCH] v0.5.0 --- dist/restore/index.js | 6 +++++- dist/save/index.js | 6 +++++- package.json | 2 +- src/cache.service.ts | 6 +++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/dist/restore/index.js b/dist/restore/index.js index cbdd5bc..a46c61d 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -43366,7 +43366,11 @@ class CacheService { .putObject({ Bucket: this._bucket, Key: path.join(this.getCacheFolder(), key), - Body: data + Body: data, + Metadata: { + ContentType: "text/plain", + ContentEncoding: "gzip" + } }) .promise(); }); diff --git a/dist/save/index.js b/dist/save/index.js index 93f1986..586ab72 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -43366,7 +43366,11 @@ class CacheService { .putObject({ Bucket: this._bucket, Key: path.join(this.getCacheFolder(), key), - Body: data + Body: data, + Metadata: { + ContentType: "text/plain", + ContentEncoding: "gzip" + } }) .promise(); }); diff --git a/package.json b/package.json index 8b95911..ede0ba1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cache", - "version": "0.5.0", + "version": "0.6.0", "private": true, "description": "Cache dependencies and build outputs", "main": "dist/restore/index.js", diff --git a/src/cache.service.ts b/src/cache.service.ts index e5890ce..e76019b 100644 --- a/src/cache.service.ts +++ b/src/cache.service.ts @@ -133,7 +133,11 @@ export class CacheService { .putObject({ Bucket: this._bucket, Key: path.join(this.getCacheFolder(), key), - Body: data + Body: data, + Metadata: { + ContentType: "text/plain", + ContentEncoding: "gzip" + } }) .promise(); }