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-google-analytics): Separate preconnect and dns-prefetch #25279

Merged
merged 2 commits into from
Jul 3, 2020

Conversation

deminoth
Copy link
Contributor

Description

Implementing dns-prefetch fallback in the same tag causes a bug in Safari where preconnect gets cancelled.

https://web.dev/preconnect-and-dns-prefetch/
https://bugs.webkit.org/show_bug.cgi?id=197010

@deminoth deminoth requested a review from a team as a code owner June 25, 2020 04:34
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 25, 2020
@pieh pieh added topic: plugins-analytics Various analytics plugins like gatsby-plugin-google-analytics type: bug An issue or pull request relating to a bug in Gatsby and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jun 25, 2020
@deminoth deminoth changed the title Separate preconnect and dns-prefetch of google analytics fix(gatsby-plugin-google-analytics): Separate preconnect and dns-prefetch Jun 26, 2020
Copy link
Contributor

@wardpeet wardpeet left a comment

Choose a reason for hiding this comment

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

Oh TIL, I didn't know this was a bug in safari. Thank you for updating!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: plugins-analytics Various analytics plugins like gatsby-plugin-google-analytics type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants