• Resolved Mirco Babini

    (@mirkolofio)


    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)
  • Plugin Support Delyan Delov

    (@delyandelov)

    Hi @mirkolofio,

    Our management and plugin developers decided that leaving the cache to be valid forever is not an optimal solution and this is why they implemented a default cleaning interval of 1 week.

Viewing 1 replies (of 1 total)
  • The topic ‘File cache interval OFF but still regenerating’ is closed to new replies.