Speed Issues: style.css loading twice

[ad_1]

Hello,

as part of the speed optimization of my website, I saw in the Chrome Developer Tools that WP Fastest Cache loads the style.css (renamed in kx6n.css) twice. The only difference is, that at the beginning of the second file there are the styles for the Cookie Consent Banner (Complianz) added.

How can I avoid duplicating this file, so that the page loads faster?

EDIT:
Actually I would like to move critical css to inline styles in the body of the page and load the style.css via javascript, as suggested here: https://web.dev/articles/defer-non-critical-css?hl=de
I think, it’s not possible in combination with WP Fastest Cache? If not, how can I disable modifying style.css by WP Fastest Cache?

Thank you in advance!
Andreas

  • This topic was modified 11 hours, 9 minutes ago by Andreas 2013.

 

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