D
D
Dmitry Klimantovich2020-08-22 17:30:34
Search Engine Optimization
Dmitry Klimantovich, 2020-08-22 17:30:34

How to automate critical css inlining in Wordpress?

Good afternoon.

Tell me which plugin can be used to automate the inlining of critical CSS in wordpress. Competitors use WP Rocket, but it's paid. I might use it too, but I want to try to find alternative ways first.

I'm using Sublime Text 3 and scss to create a site to get a single css file as output.
There is an npm module Critical, but I don't understand how to use it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-08-22
@azerphoenix

Hello!
An alternative to the Wp Rocket plugin is
Autoptimize + Autoptimize criticalcss.com power-up
https://ru.wordpress.org/plugins/autoptimize/
https://wordpress.org/plugins/autoptimize-criticalcss/
Connect the service API and it will already generate and inline critical CSS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question