Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don’t preload async #1124

Merged
merged 1 commit into from Mar 22, 2024
Merged

don’t preload async #1124

merged 1 commit into from Mar 22, 2024

Conversation

mbostock
Copy link
Member

A <script type="module" async> probably shouldn’t be preloaded — the async attribute implies that it’s lower priority. For example, we don’t want to preload our first-party analytics script on the Framework documentation.

@mbostock mbostock requested a review from Fil March 22, 2024 02:30
@mbostock mbostock enabled auto-merge (squash) March 22, 2024 02:30
Copy link
Contributor

@Fil Fil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mbostock mbostock merged commit d3b28a1 into main Mar 22, 2024
4 checks passed
@mbostock mbostock deleted the mbostock/no-async-preload branch March 22, 2024 06:11
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.

None yet

2 participants