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 ![]() Thanks! |
|||
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. |
|||
09-07-2019, 12:01 AM
Post: #3
|
|||
|
|||
![]()
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!
![]() |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)