[ad_1]
I noticed that when File cache cleanup interval is set to OFF (never clean), the file cache older than a week is still not considered. This is because in Cache.php there’s:
php
// Bail if the cache is stale.
if ( filemtime( $cache_file ) < ( time() - WEEK_IN_SECONDS ) ) {
if ( $should_send_miss ) {
header( 'SG-F-Cache: MISS' );
}
return false;
}
Not really expected. Cache cleanup OFF means “valid forever” and forever is forever.
