From 0e5a64d81dfc417f5f608f8f414d678945a8be1c Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Sun, 15 Sep 2019 14:43:56 +0700 Subject: [PATCH] Updated lolisafe.js Fixed cache-control. I only noticed that I had "immutable" on pages that were supposed to be cached by proxy only. For some reason that did nothing on my Firefox desktop, but I noticed it worked in my phone's browsers, including Firefox. Odd. --- lolisafe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lolisafe.js b/lolisafe.js index dce4c10..5dbdfaf 100644 --- a/lolisafe.js +++ b/lolisafe.js @@ -59,7 +59,7 @@ if (config.cacheControl) { default: 'public, max-age=2592000, must-revalidate, proxy-revalidate, immutable, stale-while-revalidate=86400, stale-if-error=604800', // s-max-age: 30 days (only cache in proxy server) // Obviously we have to purge proxy cache on every update - proxyOnly: 'public, s-max-age=2592000, proxy-revalidate, immutable, stale-while-revalidate=86400, stale-if-error=604800', + proxyOnly: 's-max-age=2592000, proxy-revalidate, stale-while-revalidate=86400, stale-if-error=604800', disable: 'no-store' }