Thread Starter
qwik3r
(@qwik3r)
try disabling the minification of excluded CSS resources with this filter;
add_filter('autoptimize_filter_css_minify_excluded','__return_false');
AO25 will have an option on the settings-screen to disable that by the way.
hope this helps,
frank
Thread Starter
qwik3r
(@qwik3r)
It seems that checking the option to serve static files fixed the issue.
Thread Starter
qwik3r
(@qwik3r)
On another note. It seems like AO is taking a while to serve up the CSS file: https://cl.ly/bc9909ad53bf which is causing some longer than expected load times. Any suggestions here?
well, it’s a static file, so it’s your webserver that is taking some longer then expected load time 🙂
you could go “inline and defer” (see the AO FAQ for more info)?
Thread Starter
qwik3r
(@qwik3r)
I have inline and defer set already with CriticalCSS.
then it doesn’t really matter much that the full CSS takes a bit longer, as the critical CSS ensures the above-the-fold page is styled asap 🙂