This may be todo with my setup (though I can’t think why) but if I enable the option Layout options – > Search box layout – > Hide the search box completely, display settings only?
A page loading the search via a shortcode increase its load time significantly waiting for asp-core.js with the setting active.
Oddly the load time (time for the Frontend filter to appear) is even adversely affected if I used custom CSS to display:none the search bar which I’m very confused about.
The following custom CSS on the div did not affect load time
visibility: hidden;
height: 0;
Oddly the effect is not seen with the following PHP filter active
add_filter( 'asp_load_css', 'asp_stop_load_css', 10, 1 );
function asp_stop_load_css( $stop ) {
return true;
}