Title: Expected or A Bug?
Last modified: September 26, 2019

---

# Expected or A Bug?

 *  Resolved [idumlupinar](https://wordpress.org/support/users/idumlupinar/)
 * (@idumlupinar)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/expected-or-a-bug/)
 * Hello, I am using host webfonts local along with autoptimize plugin. There is
   a setting in plugin settings page that says “If you’re using a plugin (such as
   Autoptimize) to load stylesheets in the footer, enable this to preload the fonts.”
   I have checked this. Then my Chrome browser displayed following warning in developer
   console:
 * `<link rel=preload> has an invalid href value`
 * Page source displays following html code:
    `<link rel='preload' href='' as='style'/
   >`
 * Could it be due to following configuration in Autoptimize?
 * > JavaScript Options
   >  Everything checked except “Load JavaScript early, this 
   > can potentially fix some JS-errors, but makes the JS render blocking.” and “
   > If your scripts break because of a JS-error, you might want to try this.”
 * > CSS Options
   >  First 3 options checked
 * > HTML Options
   >  1st one checked
 * > CDN Options
   >  //cdn.mywebsite.com/
 * > Misc Options
   >  “Save aggregated script/css as static files?” and “Minify excluded
   > CSS and JS files?” checked
    -  This topic was modified 6 years, 8 months ago by [idumlupinar](https://wordpress.org/support/users/idumlupinar/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexpected-or-a-bug%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/expected-or-a-bug/#post-11973184)
 * You should disable the preload option in OMGF if you’re using Autoptimize.
 * If that’s the description I added, that’s wrong. I’m sorry. You can’t preload
   the stylesheet, if you’re combining the stylesheet with others.
 * I’ll change the description in the next update.
    -  This reply was modified 6 years, 8 months ago by [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/).

Viewing 1 replies (of 1 total)

The topic ‘Expected or A Bug?’ is closed to new replies.

 * ![](https://ps.w.org/host-webfonts-local/assets/icon-256x256.png?rev=3300821)
 * [OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.](https://wordpress.org/plugins/host-webfonts-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-webfonts-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-webfonts-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-webfonts-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-webfonts-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-webfonts-local/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/expected-or-a-bug/#post-11973184)
 * Status: resolved