-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improvement: Don't cache whole database on each FlowLauncher start #18
Comments
Hi @enoversum, nice to see you back! The plugin doesn't block the main process. It refreshes the cache in the background on a separate thread and use the latest cache found, The user shouldn't notice this unless they trigger the plugin while applying the new cache (which is rare). If so the user will see an error, not a loading bar. The delay or loading bar you see comes from Flow Launcher itself, not the plugin. Flow Launcher caches the entire set of results and images, which is generally very fast—unless you have an unusually large number of results to cache. |
Hi @AminSallah , and lovely to hear back from you as well 😊. Spark_Desktop_.Beta._i1A9dbSlcs.mp4This is after I restarted FlowLauncher. When I just hit the shortcut (n for me), I usually have to wait for quite some time until it produces a result on its own. I believe I don't have to leave FL visible for that, but I can't do any searches until the plugin finished re-caching the results. It would be great if your plugin could just use the old cache, and once it finished re-downloading the new one, replace the old with the new one. If that makes any sense. |
That's exactly what the plugin does. |
Well, I disabled my internet connection and tried the plugin again, and as you said, it's using the cache instead of trying to pull new data. Not when I'm connected to the web, then I can't do a search while it pulls and pulls and pulls… |
Hey there, I'm still using and enjoying your Notion plugin almost every day.
What I found a bit distracting is that each time FlowLauncher has been re-started, hitting your keyword requires me to wait for quite some time until the plugin finishes re-downloading of what seems the whole of my page titles and icons.
It would be beautiful if I could start from the cached results off my FlowLauncher installation, while the plugin scans for changes in the background. This way, I'd be able to use it right away, while newer pages would appear when the plugin successfully queried and processed the new data.
The text was updated successfully, but these errors were encountered: