entity->is( 'producttype' ) ) { if( $expire <= ( $time + $puffer + DAY_IN_SECONDS * 3 ) ) { return true; } } if( $cache->entity->is( 'product' ) || $cache->entity->is( 'article' ) || $cache->entity->is( 'design' ) ) { if( $expire <= ( $time + $puffer + WEEK_IN_SECONDS ) ) { return true; } } } return $expired; }, 10, 3 );