[FileRepo] Lowered negative caching duration.
Change-Id: I288ce2eef3cf547e254843c7f806925ee44391ca
This commit is contained in:
parent
b4edbc0540
commit
7cd5b25321
1 changed files with 2 additions and 1 deletions
|
|
@ -252,7 +252,8 @@ class LocalFile extends File {
|
|||
}
|
||||
}
|
||||
|
||||
$wgMemc->set( $key, $cache, 60 * 60 * 24 * 7 ); // A week
|
||||
// Cache presence for 1 week and negatives for 1 day
|
||||
$wgMemc->set( $key, $cache, $this->fileExists ? 86400 * 7 : 86400 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue