-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
[FEATURE] Configure how many pages to preload #210
Comments
Hey 👋 Funny enough, this is actually already implemented. The relevant code section is here. If you can confirm a couple of things, we can transition this to a bug and I can look into it sometime this week:
Edit for clarity: the pre-fetching itself is implemented, however your suggestion of having a config for controlling how many pages to fetch is not. If the baseline issue you described is in fact a bug, I'll be sure to leave this feature request, instead of converting it to a bug, in order to capture that aspect |
Thank you for capturing all of this - it is incredibly useful, so I appreciate it! This is definitely a bug then, the loading of 15 pages at once then 1-by-1 afterwards is definitely not the intended functionality. I'll be sure to give you an update once I figure it out and/or push up a fix 👍 |
you are very welcome! if you need me to make another batch of tests, don't hesitate to ping me |
Hello again! I had a very brief debugging session after work today and figured out what was happening. I wanted to give a little outline in case you are curious. The bug is actually a combination of two bugs and a more complicated inefficiency:
I've fixed the first bug and tentatively the second (just want to test that one a bit more locally). I'll want to spend a bit more time thinking through the third issue, but then hopefully the issue is resolved once merged to |
Hello 👋 This should (hopefully) be resolved in the latest nightly build. Let me know if you face any issues, otherwise |
* Add discord notification for experimental build * WIP: unify image-based readers a bit * Stylistic tweaks * Fix Yomu reader * Improve preloading options Relates to #210 * Touchups
Is your feature request related to a problem? Please describe.
from what i've seen, pages are loaded one-by-one, and the loading is triggered by going to the next page
that's kind of annoying when used on mobile with an unstable connection, because sometimes the next page will load quickly, but sometimes it'll takes dozens of the seconds to load the page
Describe the solution you'd like
A setting so we can enable and choose how many pages to prefetch
that way, we could have a "margin" of already loaded pages, and avoid the issue explained above when using a poor internet connection
The text was updated successfully, but these errors were encountered: