-
Notifications
You must be signed in to change notification settings - Fork 133
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
Enhance search performance of algolia plugin #2406
Enhance search performance of algolia plugin #2406
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2406 +/- ##
=======================================
Coverage 48.87% 48.87%
=======================================
Files 124 124
Lines 5238 5238
Branches 1109 1109
=======================================
Hits 2560 2560
Misses 2371 2371
Partials 307 307 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my testing, this seems to work and preview links SEEM to load faster as opposed to when this is not there (comparing the netlify preview on master and on this PR)
It would be great if you could show any testing you've done to verify this PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@all-contributors please add @KevinEyo1 for code |
I've put up a pull request to add @KevinEyo1! 🎉 |
What is the purpose of this pull request?
Overview of changes:
Resolves #2015
Added snippet to the head of your website when using Algolia for performance optimization.
Anything you'd like to highlight/discuss:
Testing instructions:
Proposed commit message: (wrap lines at 72 characters)
Enhance search performance. It would allow user to make the
first query faster, especially on mobile, making their user
experience better.
Let's hint the browser that the website will load data from
Algolia, allowing it to preconnect to the DocSearch cluster.
Checklist: ☑️
Reviewer checklist:
Indicate the SEMVER impact of the PR:
At the end of the review, please label the PR with the appropriate label:
r.Major
,r.Minor
,r.Patch
.Breaking change release note preparation (if applicable):