Im testing this site to see how i can make it better. Ive been trying to use GTMetrix to see some specific data points but it receives a 403 error. this site is on a server with multiple others and this is the only one with this issue currently. It is using AIO WP Security
]]>One solution I found to not remove this plugin and continue with the optimizations was to remove the non-critical js rendering through functions.php with the following function:
//remove render blocking from non-critical js
//- unless it is within the WordPress administration interface
//- and except cart_page
function defer_parsing_of_js ( $url ) {
if ( is_admin() ) return $url;
if ( is_cart () ) return $url;
if ( FALSE === strpos( $url, '.js' ) ) return $url;
if ( strpos( $url, 'jquery.js' ) ) return $url;
return "$url' defer ";
}
add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );
]]>you did a great job! i’m testing the plugin for a view hours now. i activate the trial version. one thing is confusing: gtmetrix and als google lighthouse still tells me to use correct image sizes. this is one most annoying thing in speed optimization. please have a look here: https://dev.filmartwear.com/shop/t-shirt-the-end/
everything works fine, the cdn delivers the webp and srcset is set. do i have to get rid of the width and hight attributes of the img tag? what do i have to do that gtmetrix and google don’t complain about it anymore
thanks, kay
]]>I’ve put the website through GTMetrix and it’s bringing back “Avoid an excessive DOM size” and it’s the Instagram feed on the site it is highlighting.
https://gyazo.com/81662c3828e6bbd1df5b141d4a64b59b
Is there anything we can do to improve this as this will improve the overall grade the site will be given?
Thanks,
Javed
I love your plugin. Unfortunatly I have an issue. When i run a GTmetrix analysis i get the error: failed (err_name_not_resolved). If i run a pagespeed analysis I have opportunities to reduce css and JS regarding Jetpack boost. How can I solve this?
Another issue. Since last update when i do a pagespeed analysis I get the error “Preload Largest Contentful Paint image”. This didn’t happen before.
Thanks
]]>I was using WP Rocket until a few days ago and switched over to Litespeed 3 days ago.
On GTMetrix, my site shows LCP of 4.1s and Performance as 55%, Grade D
whereas with WP Rocket , I always achieved Grade A, Performance 95-100% and LCP of about 150ms.
I want to stay with Litespeed and need your help to make my site score as close to what i was achieving earlier.
I just read one of your replies to someone from 2 years ago & did the setting for crawler too.
Let me know if you can help me resolve
Thanks
Manish
]]>thz in advanced
]]>