dfsfsd
This commit is contained in:
parent
a5e3c55afd
commit
0befcc29b8
4 changed files with 14 additions and 12 deletions
|
@ -16,7 +16,7 @@ if (typeof showNewCommentCounts === 'undefined') {
|
|||
|
||||
const LAST_CACHE_CLEAN_ID = "last-cache-clean"
|
||||
const EXPIRE_INTERVAL_MILLIS = 5 * 24 * 60 * 60 * 1000
|
||||
const CACHE_CLEAN_INTERVAL = 60 * 60 * 1000 // 1 hour
|
||||
const CACHE_CLEAN_INTERVAL = 60 * 60 * 1000
|
||||
|
||||
function cleanCache() {
|
||||
const lastCacheClean = JSON.parse(localStorage.getItem(LAST_CACHE_CLEAN_ID)) || Date.now()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue