From ce723bd82bfde3acbd27214f36c61f7670a7c4f7 Mon Sep 17 00:00:00 2001 From: Tobias Bocanegra Date: Fri, 10 Jul 2020 22:30:20 +0900 Subject: [PATCH] fix(google): disable caching --- src/matchers/google.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matchers/google.js b/src/matchers/google.js index 7dfc6d5b..61af5611 100644 --- a/src/matchers/google.js +++ b/src/matchers/google.js @@ -87,7 +87,7 @@ async function extract(url, params, log = console) { statusCode: 200, headers: { 'Content-Type': 'application/json', - 'Cache-Control': 'max-age=600', + 'cache-control': 'no-store, private, must-revalidate', }, body: rowvalues, }; @@ -97,7 +97,7 @@ async function extract(url, params, log = console) { statusCode: 500, headers: { 'Content-Type': 'application/json', - 'Cache-Control': 'max-age=600', + 'cache-control': 'no-store, private, must-revalidate', }, body: [], };