You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<link rel="preload" with "as" doesn't work printing The resource https://qm3w7j.csb.app/styles.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.
#8610
🐛 bug report
Preflight Checklist
adheres to.
to file, without success.
Description of the problem
It looks like
<link rel="preload"
withas="style"
andas="script"
doesn't work.How has this issue affected you? What are you trying to accomplish?
Having a minimal code example with
<link rel="preload" href="styles.css" as="style" />
&<link rel="preload" href="script.js" as="script" />
.To Reproduce
https://codesandbox.io/p/sandbox/104-html-performance-optimization-techniques-qm3w7j / https://qm3w7j.csb.app and check the console, which will print
The resource https://qm3w7j.csb.app/styles.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
asvalue and it is preloaded intentionally.
Link to sandbox: link (optional)
Your Environment
The text was updated successfully, but these errors were encountered: