News for hackers. Stuff that matters.
Re:Web.dev by Google by SquareWheel on Tuesday November 13, 2018 @09:50PM (#18447064)
I'd put network use in a different category. It is an important issue though.

Thankfully the tools are getting better for this. The recently supported font-display property is a great one. It allows devs to choose how to handle web font rendering over slower internet connections.

Now I just wish more devs would start to take advantage of all the great performance tools available. Those best practices are unfortunately rarely taught.

Re:Web.dev by Google by acdha on Wednesday November 14, 2018 @09:06AM (#18449885)
> I'd put network use in a different category. It is an important issue though.

My rationale for considering it to be included is that as the concept was developed I took the spirit of progressive enhancement to be doing the best with what your users have rather than only catering to people with the same setup you have.

> Now I just wish more devs would start to take advantage of all the great performance tools available. Those best practices are unfortunately rarely taught.

Agreed. I think one of the challenges has been both showing business value from performance — once you're putting things into a cost/benefit comparison it's a lot easier to get people to routinely consider the performance impact of their decisions.

Re:Web.dev by Google by collinmanderson on Wednesday November 14, 2018 @12:36PM (#18451773)
for font-display, do you prefer swap or fallback?
Re:Web.dev by Google by SquareWheel on Thursday November 15, 2018 @02:53AM (#18457618)
It might depend on main body text versus title text. It's jarring when body text changes so I'd prefer fallback in that case. For a title which might have more branding concerns, I'd prefer swap.