Skip to content

feat: add async font loading for faster page render#58

Open
weiambt wants to merge 1 commit into
zarazhangrui:mainfrom
weiambt:feat/async-font-loading
Open

feat: add async font loading for faster page render#58
weiambt wants to merge 1 commit into
zarazhangrui:mainfrom
weiambt:feat/async-font-loading

Conversation

@weiambt

@weiambt weiambt commented Apr 26, 2026

Copy link
Copy Markdown

Google Fonts/Fontshare synchronous loading blocks page rendering. Use media="print" onload trick for non-blocking async load with preconnect hints. Includes noscript fallback for JS-disabled environments.

Google Fonts/Fontshare synchronous loading blocks page rendering.
Use media="print" onload trick for non-blocking async load with
preconnect hints. Includes noscript fallback for JS-disabled environments.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
MageByte-Zero added a commit to MageByte-Zero/frontend-slides that referenced this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant