mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
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:
parent
43026fd5b9
commit
0e5a64d81d
@ -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'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user