Re:Browsers, JSON, and FormData
by megaman821 on Saturday November 12, 2022 @01:00PM
(#33575395)
All modern browsers hold the old page for a bit so there is no flash.
[ Parent
| on HN ]
Re:Browsers, JSON, and FormData
by franga2000 on Sunday November 13, 2022 @12:17PM
(#33585053)
Yet many web developers still manage to screw this up and cause flashes by doing weird things with fonts, dynamic loading and other such nonsense.
Re:Browsers, JSON, and FormData
by megaman821 on Sunday November 13, 2022 @12:25PM
(#33585121)
Well Cumulative Layout Shift (CLS) is bad on the first page load. It is not surprising it manages to be bad on every subsequent page load.
It is not that hard to fix either. There are several appropriate font swapping strategies built into CSS, and just reserve space by specifying the dimensions for images and dynamically loaded content.