Proposal here.
Problem
seguiemj.ttf (1.4 MB Windows Segoe UI Emoji fallback) is included in the webpack
preload whitelist, causing every user on every cold start to download 1.4 MB that
only Windows needs. Critical-path font bytes are ~2.7 MB as a result.
Solution
Remove seguiemj.ttf from the preload whitelist (keep the @font-face declaration so
Windows users still get it lazily). Inline the two critical Expensify Neue @font-face
declarations in index.html so the browser starts fetching them during HTML parse
rather than waiting for fonts.css. Expected result: critical-path font bytes drop
from ~2.7 MB to ~1.3 MB (−52%).
Issue Owner
Current Issue Owner: @rinej
Proposal here.
Problem
seguiemj.ttf (1.4 MB Windows Segoe UI Emoji fallback) is included in the webpack
preload whitelist, causing every user on every cold start to download 1.4 MB that
only Windows needs. Critical-path font bytes are ~2.7 MB as a result.
Solution
Remove seguiemj.ttf from the preload whitelist (keep the @font-face declaration so
Windows users still get it lazily). Inline the two critical Expensify Neue @font-face
declarations in index.html so the browser starts fetching them during HTML parse
rather than waiting for fonts.css. Expected result: critical-path font bytes drop
from ~2.7 MB to ~1.3 MB (−52%).
Issue Owner
Current Issue Owner: @rinej