Page cached did not remove
This commit is contained in:
parent
3a3a22b37a
commit
10f1563c4a
@ -23,10 +23,11 @@ class PageCache
|
||||
|
||||
setInterval( () => {
|
||||
var d = new Date().getTime();
|
||||
for( var i in this.cache )
|
||||
for( let store of this.cache )
|
||||
for( var i in store )
|
||||
{
|
||||
var c = this.cache[ i ];
|
||||
if( c.ttl < d ) delete this.cache[ i ];
|
||||
var c = store[ i ];
|
||||
if( c.ttl < d ) delete store[ i ];
|
||||
}
|
||||
|
||||
for( var i in this.excepts )
|
||||
|
Loading…
Reference in New Issue
Block a user