Preload missing valid ‘as’ value
-
Hi Frank,
I’m trying to use the new preload feature available under Extra Settings.
However when specifying a URL for preloading it doesn’t work (no preloading) and Chrome developer tool is throwing the following console message: “<link rel=preload> must have a validasvalue”.
Digging deeper into the code the AO plugin seems to add the following and ‘other’ doesn’t seem to be a valid value:
<link rel=”preload” href=”https://www.art-maupin.de/wp-content/plugins/revslider/public/assets/fonts/revicons/revicons.woff?5510888″ as=”other”>I guess as=font would be appropriate in my case according to https://www.w3.org/TR/preload/#as-attribute but there is no option in the AO plugin settings to specify the AS-type.
Am I overseeing something here or does the plugin require an enhancement to allow specification of the AS-type for any preload URLs ?
Thanks a lot
The page I need help with: [log in to see the link]
The topic ‘Preload missing valid ‘as’ value’ is closed to new replies.