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(v2): apply default appId to Algolia search #3118

Conversation

francoischalifour
Copy link
Contributor

Motivation

This default appId hints the browser that the website will load data from this Algolia application, resulting in a faster search.

There was an issue when this appId fell back to the default one because the preconnect link targeted an undefined endpoint.

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

See generated <link rel="preconnect"> in source code.

Related PRs

This default `appId` hints the browser that the website will load data from this Algolia application, resulting in a faster search.
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit 50f7a1f

https://deploy-preview-3118--docusaurus-2.netlify.app

@slorber
Copy link
Collaborator

slorber commented Jul 27, 2020

As seen on discord, superseeded by #3133

@slorber slorber closed this Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants