Disable caching in WP Rocket

Disable caching in WP Rocket on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'do_rocket_generate_caching_files', '__return_false' );
add_filter( 'rocket_generate_advanced_cache_file', '__return_false' );