Skip to content

Site: drop the unused font preload - #7

Merged
dpdev69 merged 2 commits into
mainfrom
claude/project-thread-6gck7d
Oct 20, 2026
Merged

dpdev69 merged 2 commits into
mainfrom
claude/project-thread-6gck7d

Conversation

@dpdev69

@dpdev69 dpdev69 commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Before: Chrome warned on folio.hellobasalt.dev that the preloaded EB Garamond 500 font was not used within a few seconds of load.

After: the preload is gone. The font still loads from the stylesheet with font-display: swap, as the other four faces already do.

How: one line removed from site/index.html. The CSP change for Cloudflare's injected bot-check script was taken out of this PR; that rule is being decided for all hellobasalt.dev sites and will come separately.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LnkjoXP333uqMXUsNjoote

…preload

Cloudflare adds an inline Bot Fight Mode script to every page on the proxied
domain, and the CSP blocked it. Chrome also flagged the 500 preload as unused.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LnkjoXP333uqMXUsNjoote
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Deploying folio with  Cloudflare Pages  Cloudflare Pages

Latest commit: f016bb6
Status: ✅  Deploy successful!
Preview URL: https://18b7cfeb.folio-bn7.pages.dev
Branch Preview URL: https://claude-project-thread-6gck7d.folio-bn7.pages.dev

View logs

The script-src rule for Cloudflare's injected script is being decided for all
hellobasalt.dev sites; it goes in a separate change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LnkjoXP333uqMXUsNjoote
@dpdev69 dpdev69 changed the title Site: allow Cloudflare's injected check script, drop the unused font preload Site: drop the unused font preload Oct 20, 2026
@dpdev69
dpdev69 merged commit f45ffa7 into main Oct 20, 2026
13 checks passed
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