Title: Preload missing valid &#8216;as&#8217; value
Last modified: December 29, 2019

---

# Preload missing valid ‘as’ value

 *  [wphomey](https://wordpress.org/support/users/wphomey/)
 * (@wphomey)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/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 valid `as` value”. 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&#8243](https://www.art-maupin.de/wp-content/plugins/revslider/public/assets/fonts/revicons/revicons.woff?5510888&#8243);
   as=”other”>
 * I guess as=font would be appropriate in my case according to [https://www.w3.org/TR/preload/#as-attribute](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpreload-missing-valid-as-value%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/preload-missing-valid-as-value/#post-12277838)
 * Remove `?5510888″` from the URL so it becomes `https://www.art-maupin.de/wp-content/
   plugins/revslider/public/assets/fonts/revicons/revicons.woff` and it should work
   🙂
 * frank

Viewing 1 replies (of 1 total)

The topic ‘Preload missing valid ‘as’ value’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/preload-missing-valid-as-value/#post-12277838)
 * Status: not resolved