[PR #16] [MERGED] perf: add preconnect for Fontshare API and CDN #21

Closed
opened 2026-02-15 17:17:16 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/openclaw.ai/pull/16
Author: @wilfriedladenhauf
Created: 1/27/2026
Status: Merged
Merged: 1/27/2026
Merged by: @thewilloftheshadow

Base: mainHead: perf/font-preconnect


📝 Commits (2)

  • e3b40e6 perf: add preconnect for Fontshare API and CDN
  • 9055ac7 chore: update changelog for #16 (thanks @wilfriedladenhauf)

📊 Changes

2 files changed (+3 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 src/layouts/Layout.astro (+2 -0)

📄 Description

Description

Optimizes initial page load by establishing early connections to Fontshare.

Technical Details

  • api.fontshare.com: Preconnected without crossorigin to match standard CSS fetch behavior.
  • cdn.fontshare.com: Preconnected with crossorigin (anonymous) to comply with W3C font-fetching requirements, ensuring the connection is reused for the .woff2 files.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/openclaw.ai/pull/16 **Author:** [@wilfriedladenhauf](https://github.com/wilfriedladenhauf) **Created:** 1/27/2026 **Status:** ✅ Merged **Merged:** 1/27/2026 **Merged by:** [@thewilloftheshadow](https://github.com/thewilloftheshadow) **Base:** `main` ← **Head:** `perf/font-preconnect` --- ### 📝 Commits (2) - [`e3b40e6`](https://github.com/openclaw/openclaw.ai/commit/e3b40e654395a1804227a8eedd2756ef108aa48f) perf: add preconnect for Fontshare API and CDN - [`9055ac7`](https://github.com/openclaw/openclaw.ai/commit/9055ac7aa41cf1427c0dc7a618c3a7c7ce5678d7) chore: update changelog for #16 (thanks @wilfriedladenhauf) ### 📊 Changes **2 files changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `src/layouts/Layout.astro` (+2 -0) </details> ### 📄 Description ## Description Optimizes initial page load by establishing early connections to Fontshare. ## Technical Details - **api.fontshare.com**: Preconnected without `crossorigin` to match standard CSS fetch behavior. - **cdn.fontshare.com**: Preconnected with `crossorigin` (anonymous) to comply with W3C font-fetching requirements, ensuring the connection is reused for the .woff2 files. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:17:16 -05:00
yindo closed this issue 2026-02-15 17:17:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/openclaw.ai#21