Exploring the use of rel=preload
for the first time, specifically for a few stylesheets. Check out the code snippet below:
<link rel="preload" href="css/styles.css" as="style">
<link rel="preload" href="//allyoucan.cloud/cdn/icofont/1.0.0beta/css/icofont.css" crossorigin="anonymous" as="style">
Testing in Chrome 61 reveals that the stylesheets are downloaded as expected but not applied, accompanied by a console message indicating that a preloaded resource is not being utilized.
If I switch from using rel=preload
to simply rel=stylesheet
, everything functions flawlessly.
Am I overlooking something here?