File cache interval OFF but still regenerating
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘File cache interval OFF but still regenerating’ is closed to new replies.