Repository navigation
Site: drop the unused font preload - #7
Merged
Merged
Conversation
…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
Deploying folio with
|
| 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 |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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