Removes Algolia in favor of Orama
As discussed with @nicolo-ribaudo, I'm opening a PR to add support for Orama search instead of Algolia. This results in faster searches (the search engine runs locally on the browser), with an open-source solution that does not require configuration or maintenance.
Happy to discuss this and make changes if you require so.
Deploy Preview for babel-next failed.
| Name | Link |
|---|---|
| Latest commit | 6e383d0d2eec55680d97327c2675f67465633857 |
| Latest deploy log | https://app.netlify.com/sites/babel-next/deploys/65df657a8c544500077de641 |
Deploy Preview for babel failed.
| Name | Link |
|---|---|
| Latest commit | 6e383d0d2eec55680d97327c2675f67465633857 |
| Latest deploy log | https://app.netlify.com/sites/babel/deploys/65df657b332ab6000858504a |
Thank you, I though you had forgotten :) I'll take a look
runs locally on the browser
How much does it increase the weight of the page? How large is the index?
How much does it increase the weight of the page? How large is the index?
For this specific website, it's 1.5MB
Is the index lazily loaded when you use the search, or is it always loaded even for people that don't ever use the search? 1.5MB is pretty heavy.
Daniel
On March 2, 2024 8:11:46 PM PST, Michele Riva @.***> wrote:
How much does it increase the weight of the page? How large is the index?
For this specific website, it's
1.5MB-- Reply to this email directly or view it on GitHub: https://github.com/babel/website/pull/2862#issuecomment-1975015047 You are receiving this because you commented.
Message ID: @.***>
Right now, it's always loaded. We could make it lazy, but requires some development.
As an alternative, we can offer Orama Cloud for free for OSS projects, that way you'd have a more Algolia-like experience... but all the sites using Orama OSS are not having big problems with index size.
1.5MB is not lightweight... it's like loading an average-sized image. That may give some perspective I think :)
Hi, @nicolo-ribaudo any update on this/anything I can do? Also, would you prefer moving to Orama Cloud (of course for free) or keeping the open-source one in this PR? It's a small website, so I personally believe the OSS one is enough for now.