Browser Warning when using preload
-
Hello,
I want to begin by thanking you for this plugin, as it saves me time and effort – that is priceless! Also, I love the new name lol.
To the business end of things – I just started testing the “preload (experimental)” feature and noticed that the browser seems to be negating this request. The following warning is provided in the console (I will obfuscate my domain for privacy purposes)
“https://[obfuscated]/wp-content/cache/caos-webfonts/fonts.css 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.”Upon inspection of the source code after page load, I noticed that the following:
“<link rel=’preload’ href=’https://[obfuscated]/wp-content/cache/caos-webfonts/fonts.css’ as=’style’/>”
Should the call above include a crossorigin rule? Or may there be some other issue at hand? This warning obviously isn’t breaking anything as of right now so it’s not of major concern, I just noticed a few minutes ago as I have been trying to shave as many ms as possible off my page load speed.
Thanks again, and please keep the latest plugin name, it’s good for a laugh each time I see it, and since I also use CAOS analytic, it helps prevent accidental clicks onto your analytics plugin in backend ??
- The topic ‘Browser Warning when using preload’ is closed to new replies.