Do not cache non-existent files forever (#11906)
This commit is contained in:
parent
a4ebe29b3f
commit
c29138fd72
@ -16,7 +16,6 @@ export function makeStaticFileCache<T>(
|
||||
const cached = cache.invalidate(() => fileMtime(filepath));
|
||||
|
||||
if (cached === null) {
|
||||
cache.forever();
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user