From 3b1db019c4f5d3f68bffed02d70fc8fe72ec1c0f Mon Sep 17 00:00:00 2001 From: sua yoo Date: Wed, 21 Dec 2022 10:48:37 -0800 Subject: [PATCH] disable cache on replay web page (#419) --- frontend/src/pages/archive/crawl-detail.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/archive/crawl-detail.ts b/frontend/src/pages/archive/crawl-detail.ts index e258a0aa..f0fdcb6c 100644 --- a/frontend/src/pages/archive/crawl-detail.ts +++ b/frontend/src/pages/archive/crawl-detail.ts @@ -595,6 +595,7 @@ export class CrawlDetail extends LiteElement { coll="${ifDefined(this.crawl?.id)}" replayBase="/replay/" noSandbox="true" + noCache="true" > ` : html` @@ -881,7 +882,9 @@ export class CrawlDetail extends LiteElement { private async getCrawl(): Promise { const data: Crawl = await this.apiFetch( - `${this.crawlsAPIBaseUrl || this.crawlsBaseUrl}/${this.crawlId}/replay.json`, + `${this.crawlsAPIBaseUrl || this.crawlsBaseUrl}/${ + this.crawlId + }/replay.json`, this.authState! );