Pagespeed work and CSS overhead
-
I am using Google Pagespeed and the Dev Console to see what Unused CSS there might be.
I am also using WP Rocket for caching.
I turned off all the blocks I know I am not using but I still see a lot of CSS being loaded that is not being used per the Dev Console -> Coverage.
Some of the Unused CSS includes:
.uagb-post-grid .uagb-post__excerpt {
margin-bottom: 25px;
word-break: break-word
}.uagb-post-grid .uagb-post__text p {
margin: 0 0 15px 0
}.uagb-post-grid .uagb-post__text p:last-of-type {
margin-bottom: 0
}.uagb-post-grid .uagb-post__cta {
border: none;
display: inline-block
}.uagb-post-grid .uagb-post__link {
display: inline-block;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transition: .3s ease;
-o-transition: .3s ease;Even though I have these blocks turned off in Settings -> UAGB as well as in the WordPress Manage Blocks area.
I am not sure which area really should be affecting this but perhaps the deactivated blocks css is still being loaded by mistake?
I have cleared cache and done regenerate critical CSS several times.
Is there something else I need to do so unused blocks CSS won’t get loaded?
Thank you
The topic ‘Pagespeed work and CSS overhead’ is closed to new replies.