- Issue created by @Chi
- π·πΊRussia Chi
I actually think all cache backends should use
currentTime
. - πΊπΈUnited States smustgrave
Appears to have test failures. Probably would need test coverage to show the issue?
This condition is basically useless.
// Check expire time.
$prepared->valid = $prepared->expire == Cache::PERMANENT || $prepared->expire >= $this->time->getRequestTime();
The cache will never expire within a single HTTP request in fpm-fcgi
or cli
SAPI.
Use $this->time->getCurrentTime()
instead.
Active
11.0 π₯
cache system
I actually think all cache backends should use currentTime
.
Appears to have test failures. Probably would need test coverage to show the issue?