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

fix(gatsby-plugin-image): Remove preload tag #28998

Merged
merged 1 commit into from
Jan 13, 2021
Merged

Conversation

ascorbic
Copy link
Contributor

This PR removes the preload tag, because there's no way to offer multiple image types without the browser downloading them all, and the speed benefit seems to be minimal.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 12, 2021
@ascorbic ascorbic added topic: media Related to gatsby-plugin-image, or general image/media processing topics and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jan 12, 2021
@laurieontech
Copy link
Contributor

Does eager still do enough to be worth including?

@ascorbic
Copy link
Contributor Author

@laurieontech Absolutely. That's what makes it load before hydration.

@ascorbic ascorbic merged commit 87bdec0 into master Jan 13, 2021
@ascorbic ascorbic deleted the fix/remove-preload branch January 13, 2021 07:28
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: media Related to gatsby-plugin-image, or general image/media processing topics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants