Skip to content

perf(web): preload Rubik, preconnect to Gravatar, and share one avatar size - #662

Merged
davemooreuws merged 1 commit into
mainfrom
early-font-and-avatars
Nov 13, 2026
Merged

davemooreuws merged 1 commit into
mainfrom
early-font-and-avatars

Conversation

@davemooreuws

Copy link
Copy Markdown
Member

A Lighthouse run on a thread page found Rubik requested at 1.3 s, the first avatar waiting on a new connection to Gravatar, and 10 Gravatar requests for 4 people.

  • The build adds a preload for Rubik's Latin file to index.html, and fails if the file can't be found.
  • The page preconnects to gravatar.com.
  • Every avatar up to 64 px, the largest the app shows, asks Gravatar for the same 128 px image. A larger one would ask for twice its size.

JetBrains Mono is not preloaded: pages without code would download it for nothing.

Closes SUGA-2180

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sugabots-website 89d8ce8 Nov 13 2026, 03:54 AM

@davemooreuws
davemooreuws force-pushed the early-font-and-avatars branch from 035fc06 to 89d8ce8 Compare November 13, 2026 03:53
@davemooreuws
davemooreuws merged commit 5c8f761 into main Nov 13, 2026
7 checks passed
@davemooreuws
davemooreuws deleted the early-font-and-avatars branch November 13, 2026 03:55
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