wpa.css is render-blocking | WordPress.org

[ad_1]

Thanks for an awesome plugin! When testing the page speed score for a website with this plugin installed, Google is nagging about wpa.css being loaded in frontend and being render-blocking. The file is just 0,6 KiB but it caused 150 ms longer loading time, and a lower web core vitals score for my website (for FCP and LCP).

From my understanding, this CSS file is only for the preview box displayed in the WP editor. So my suggestions is that you only load this CSS file for logged-in users. That would fix the Web Core Vitals page speed issue for external visitors.

However, I fixed it on my site by using Asset CleanUp to block the CSS file from being processed on all my pages and posts. But it would be nice if this feature was native in the plugin. Just a suggestion for improvement!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer