The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.19-0ubuntu0.18.04.2 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 08-22-2019, 11:22 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
preload font
08-30-2018, 04:20 PM
Post: #1
preload font
hi

I order to improve my perf i decide to preload my font.
Code:
<link rel="preload" href="https://www.mydomain.com/font/specialelite.woff2" as="font" type="font/woff2" media="screen and (min-width: 624px)"

But in consol I got the following message
Code:
The resource https://www.mydomain.com/font/specialelite.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

But this font is used? So, is there anyone who can explain me my mistake?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
preload font - amsa - 08-30-2018 04:20 PM
RE: preload font - andydavies - 09-04-2018, 08:13 PM
RE: preload font - amsa - 09-04-2018, 08:29 PM
RE: preload font - andydavies - 09-05-2018, 10:07 PM
RE: preload font - amsa - 09-05-2018, 10:15 PM
RE: preload font - malchata - 11-05-2018, 04:34 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)