foobnix / LibreraReader

Book Reader for Android
http://librera.mobi
Other
2.72k stars 297 forks source link

Cache more than one book #1198

Open TheHardew opened 7 months ago

TheHardew commented 7 months ago

Thank you very much for implementing caching for books #944

Unfortunately, it only caches 1 book at a time. I have a book which takes over a minute to open. In the past I split it into multiple volumes, but now it won't be necessary. However, after opening another book and coming back, it seems that the cache is deleted and I have to wait a long time again.

In case you need it, here's the book: Reverend Insanity.zip

TheHardew commented 7 months ago

It seems I will still need to keep the split versions. The book is large enough, that the application has problems scrolling around, dropping frames.

foobnix commented 7 months ago

1) Yes, it's good idea to add more books to cache, I will think how to implement it.

2) "application has problems scrolling around, dropping frames." Could you please add screenshots?

TheHardew commented 7 months ago

https://github.com/foobnix/LibreraReader/assets/7374061/3eb919f3-210d-4f97-94d1-f59e37def671

https://github.com/foobnix/LibreraReader/assets/7374061/051df6af-626b-4ead-ab18-31b4a8e158b8

Notice, how the first video is way more choppy. It comes from the book I uploaded here. The second one is from a split version. It's smaller and it's easier for the app to handle it, making it smoother.

TheHardew commented 7 months ago

Reverend Insanity - Part 1.zip

That's a split version. Technically it has errors, since the table of contents still has all the chapters, but it opens fine.