-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Opds dumper need to read all archives to have illustration size. #625
Comments
Seems a blocker for 10.0.0 to me. We deal with thousands of ZIM files in |
@veloman-yunkan This is really a performance blocker for the next release. Please have a look. |
To be exact, we don't read all archives in the library but all archives returned by the opds stream. If the stream is paged (limited to N books) we read only N archives, but if not, we read all archives. |
The said change in
Tools that generate library XMLs must be updated as well. In this context, I wonder why we need a separate XML format for the library. Can't we replace the |
This is a question we are asking ourselves (@kelson42 and I)
Reuse the |
Related to kiwix/overview#59 |
https://github.com/kiwix/libkiwix/blob/master/src/opds_dumper.cpp#L57-L70 make the opds dumper read all zim file in the library to create the opds stream.
The normal behavior should be that we trust the
library.xml
(when loading from it) and do not read the file to update the metadata information we know about the books.This kind of method should be on the library side (
Manager::readBookFromPath
orBook::update
)On my side, with 14 zim files on usb extern hard drive, the first opds request from the home page takes more than 1 minutes.
The text was updated successfully, but these errors were encountered: