-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Removes Algolia in favor of Orama #2862
base: main
Are you sure you want to change the base?
Conversation
❌ Deploy Preview for babel-next failed.
|
❌ Deploy Preview for babel failed.
|
Thank you, I though you had forgotten :) I'll take a look |
How much does it increase the weight of the page? How large is the index? |
For this specific website, it's |
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:
#2862 (comment)
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. |
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.