Faster pages, no more jumping on phones
Docs pages no longer jump while loading on phones, and the newsroom, legal and product pages respond much faster.
Everyone who reads the docs on a phone or opens the newsroom, legal or pricing pages sees them load more calmly. Layout and wording are unchanged. No action needed.
Pages on zerolog.ch now load more calmly, mainly on phones. Measured on a throttled mobile profile before and after.
Text version
Docs pages jumped by about 600 px while loading on phones. The newsroom and the legal page laid out their whole length at once. Both are fixed.
What changed
The documentation menu on phones now starts closed, so the text no longer jumps down and back up while the page loads.
The newsroom and the legal texts only draw what is on screen. The newsroom now blocks the browser for 0.08 seconds instead of 2.2 seconds on a slow phone.
Pricing, product and FAQ pages load their fonts earlier, which removes a second layout pass. Blocking time on these pages fell by about 80 percent.
No action is needed. Layout and wording are unchanged.