Archived topic
Render Blocking
3 replies · Started by Chris on May 28, 2021
Quick question...
I'm getting the following below as flagged for render-blocking in Google PSI. Any ideas why a comments stylesheet is necessary?
wp-content/themes/generatepress/assets/css/components/comments.min.css?ver=3.0.3
Thanks (BTW, it's pulling from a CDN)
Hi there,
GP serves the necessary stylesheets dynamically, so those styles only get loaded if Comments are enabled on the site.
If you're using an Optimization plugin that allows you to defer loading CSS files then thats definitely one you can defer.
I'm not using any optimization plugins.
I'm trying to create a lean site without too many plugins.
When I do add optimization plugins, my site actually gets slower.
Hi Chris,
I’m not using any optimization plugins.
I’m trying to create a lean site without too many plugins.
If you're concerned about bloat, well-coded optimization plugins shouldn't be an issue.
And you only need 1 plugin for this. Most users use Autoptimize, WP Rocket and Litespeed Cache.
When I do add optimization plugins, my site actually gets slower.
It's a matter of tweaking settings to get the best result.
Things like Critical CSS may cause CLS but with the right setting, it does wonders to site performance. Site performance optimization is a painstaking task. To get the best result, it requires a fine-tuning.