Site logo

Archived topic

Raw install shows render blocking css

3 replies · Started by Brad on April 28, 2021

Viewing posts 1–4 of 4

Hello - I am getting render blocking on "wp-includes/css/dist/block-library/style.css?ver=5.7.1"

I am using generatepress and generate blocks. I have a raw, blank page with only a header element from Generate Press. But this appears to be wordpress core that is blocking? Any ideas?

Hi there,

Yeah the theme can't do anything about that as it's a recent issue from the 5.7.1 update.

The way to go about this is by using an optimization plugin to address the issue. Try WP Rocket, Autoptimize or enable one of your host has one built in.

What specifically would we change in those? Lazy loading of that script?

Hi there,

Its not necessarily an issue - Google is just flagging a potential opportunity to improve site loading. The render blocking issue can be two fold: 1 - the size of the file, 2 - the speed of the server.

For optimization (plugins) you can try minimising the CSS files to reduce its size.
You could look at deferring the loading of that CSS but that may create CLS issues if there are any Blocks that require that CSS above the fold.

This archived topic is closed to new replies.