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

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can web fonts block rendering?
09-03-2019, 11:31 PM
Post: #1
Can web fonts block rendering?
I noticed that nothing was rendered until the font file was downloaded. Is this due to not using "font-display"?

Another question, in this print can we see a flush() from PHP?

http://webpagetest.org/result/190903_T3_...view_step1

[Image: Capturar2.jpg]

Thanks!
Find all posts by this user
Quote this message in a reply
09-05-2019, 11:25 PM
Post: #2
RE: Can web fonts block rendering?
Hi Daniel,

Yes, font's can block the paint.

Is this due to not using "font-display"? Not necessarily.

Are you using <link rel="preload"> on the font?

<link rel="preload"> serves as a "hint" to the browser that a given resource is going to be needed soon, but it doesn't tell the browser how to use it. You need to use preload in conjunction with an appropriate CSS @font-face definition in order to instruct the browser what do to with a given Webfont URL.
Find all posts by this user
Quote this message in a reply
09-07-2019, 12:01 AM
Post: #3
Tongue RE: Can web fonts block rendering?
What is PHP flush is that a way to force the buffer to get sent out early rather than say at the end? Also I wonder the different colours in those bars mean, I assume download and parsing. Great tool this! Big Grin
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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