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.
This commit is contained in:
Bobby Wibowo 2019-09-15 14:43:56 +07:00
parent 43026fd5b9
commit 0e5a64d81d
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -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'
}