@john9999 from the errors printed there, the only one noticeable related to “revicons.woff” is “Warnings: Lighthouse was unable to automatically check the font-display value for the following URL: https://meltini-10c95.kxcdn.com/wp-content/plugins/revslider/public/assets/fonts/revicons/revicons.woff?5510888“. That’s not related to the preload which from what I’ve seen it works fine.
The thing is you’re preloading it without needing it to load later in the page. Chrome returns the following notice:
The resource https://meltini-10c95.kxcdn.com/wp-content/plugins/revslider/public/assets/fonts/revicons/revicons.woff?5510888 was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate as value and it is preloaded intentionally.
You’re using Auoptimize to optimize CSS files. I’ve checked the code and you preloaded the font file stored on the CDN (https://meltini-10c95.kxcdn.com/). However, the CSS loads the one from https://meltini.com/wp-content/plugins/revslider/public/assets/css/../fonts/revicons/revicons.woff?5510888 – this is obvious from the code located in /wp-content/cache/autoptimize/css/autoptimize_1801915a7c5985545c117ec4f1dc820d.css
Either Revolution Slider (I don’t have the latest version, but I will get it as plenty of users I’ve noticed use the plugin together with Asset CleanUp) or Autoptimize is hardcoding the location in the optimized CSS file.
Hope it helps and let me know if I can further assist you at your earliest convenience!
pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.
hope this helps debugging,
frank (ao dev)
@optimizingmatters yes, it does help, thanks for the tip! You can also use ?wpacu_no_load to disable Asset CleanUp in case you ever need it.
@john9999 Can you exclude /wp-content/plugins/revslider/public/assets/css/settings.css from being optimized in Autoptimize? The file is already minified (no need to use extra CPU and space on your disk) and it has relative URLs (containing ../) to its fonts.
good to know, thanks for sharing Gabe! 🙂
Still John, thank you very much for all the answers. I will check it out.
Hi there,
thanks again for the answers.
I’m still trying to fix the issues.
@gabelivan – in the file manager I do not see any file named /wp-content/cache/autoptimize/css/autoptimize_1801915a7c5985545c117ec4f1dc820d.css
so you think is it still there the issue?
Finally, it’s not that obvious to me 🙂
why should be that exact file instead of the other files listed in the AO cache?
@optimizingmatters – where is it supposed to add ?ao_noptimize=1 , in the name of the file? (in the file manager) ex. autoptimize_54acd7d1b5c2d4fb0e736d25d270202b?ao_noptimize=1.css
thank you for your help and for the wornderful plugins
where is it supposed to add ?ao_noptimize=1
you can add that to your site’s URL in your browser’s address bar to disable AO for that request.
@optimizingmatters thank you. I misunderstood the meaning of that option. I see without AO is much worse. But I still see some fonts causing issues.
It seems excluding .woff?5510888 helped a little bit
But excluding .woff?23391439 didn’t help at all
i have the same problem and i didn’t know how to “?wpacu_no_load”. or where i can add this code.