You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.