Laravel Pulse
particlePulse delivers at-a-glance insights into your application’s performance and usage. Track down bottlenecks like slow jobs and endpoints,
Pulse delivers at-a-glance insights into your application’s performance and usage. Track down bottlenecks like slow jobs and endpoints,
// Load Google fonts add_action( ‘wp_head’, ’themeprefix_load_fonts’ ); function themeprefix_load_fonts() { ?>
// Make pagespeed happy //——————— function remove_style_id($link){ return preg_replace(“/ id=’.*-css’/”, “”, $link); } add_filter(‘style_loader_tag’, ‘remove_style_id’);
// Defer Javascript loading function js_async_attr($tag){ # Do not add defer or async attribute to these scripts // $scripts_to_exclude = array(‘script1.js’, ‘script2.js’, ‘script3.js’); // foreach($scripts_to_exclude as $exclude_script){ // if(true == strpos($tag, $exclude_script ) ) // return $tag; // } # Defer or async all remaining scripts not excluded above return str_replace( ‘ src’, ‘ defer=”defer” […]