Missing scripts and styles affect performance?
-
Hi,
first of all thank you for the impressive and useful plugin!
Here the situation: following these suggestions I deregistered some scripts of a plugin.
The code added to functions.php is:
add_action ( 'wp_enqueue_scripts', 'crunchify_disable_crayon_js_css' ); function crunchify_disable_crayon_js_css() { wp_deregister_style( 'crayon-font-courier-new' ); wp_deregister_style( 'crayon-theme-sublime-text' ); }
The hack work like a charm but Query Monitor returns a red alert.
Questions are:
1) Can this hack hurt performance?
2) Red alerts in Query Monitor represent always code blocks that slow down (or is just my immagination?)
3) Is the red alert justified in this case or is it just a false positive?Thank you for every suggestions!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Missing scripts and styles affect performance?’ is closed to new replies.