I have started noticing a warning, repeated a few times, in the browser console, in Chrome, but not in other browsers:

<link rel=preload> must have a valid `as` value

I wonder if it is anything to be concerned about. I do not think I have seen it a few weeks ago, so perhaps this was somehow introduced by a recent change in AdvAgg. I do not think it is important, but I wanted to report it in case you thought otherwise.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Rafal Lukawiecki created an issue. See original summary.

mikeytown2’s picture

What does the HTML source say? Is there an "as=_" in the tag?

Rafal Lukawiecki’s picture

I cannot see any "as".

<!--[if IE]>
<link type="text/css" rel="preload" href="https://cdn-dev.farm.projectbotticelli.com/sites/default/advagg/advagg_css/css__HVBImqdfsTzXEKesvRFQLWa2LSOcRBGs495bQ-yPhrk__h3P1M9qgldzmk-48cMTwHFt2x6PRm0KgTfwZz9wezxc__3VBaL40a2_VVlyb38mUENWKjhs--SYL84oGZEw1czj0.css" media="all" as="style" onload="this.rel=&#039;stylesheet&#039;" />
<![endif]-->
mikeytown2’s picture

Status: Active » Closed (works as designed)

It's there. Bug in chrome.

link type="text/css" rel="preload" href="https://cdn-dev.farm.projectbotticelli.com/sites/default/advagg/advagg_c..." media="all" as="style" onload="this.rel='stylesheet'"

Rafal Lukawiecki’s picture

Yes it is... Thank you! Feeling blind.