Excluded CSS still being preloaded
-
Hi,
I am using AO with CriticalCSS. I have turned on the “Inline above the fold CSS” and activated CriticalCSS. I have excluded one CSS file, components.css. I have also unchecked the setting that minifies excluded CSS, so it is loaded as is. However, the components.css file is still being preloaded — it has the inline JS. You can see the preload attribute when you view the page source
(it is switched onload):<link rel='preload' as='style' onload="this.onload=null;this.rel='stylesheet'" id='theme-components-css' href='https://ui-perform-goodhire.pantheonsite.io/wp-content/themes/goodhire/css/components.css?ver=dd8aee6cece11ab373be0d5e69c2fe06023e5550' type='text/css' media='all' />Is it possible to prevent a CSS script from being preloaded completely when CriticalCSS is activated — to remove it from AO’s control completely?
Thank you,
BenThe page I need help with: [log in to see the link]
The topic ‘Excluded CSS still being preloaded’ is closed to new replies.