kiwix-js-pwa
kiwix-js-pwa copied to clipboard
Consider implementing differential reading of two or more ZIM archives
With the File System Access API, it would be perfectly feasible to implement differential or incremental reading of two or more related ZIM archives located in the same directory. On a desktop system, this ought to be fast enough to be an acceptable UX. This would be a basic way of providing an incremental update mechanism, for example, if a user has a base full Wikipedia but a newer WikiMed archive, and they would like all searches to access the newer archive first and fall back to the older but more complete archive.
See also https://github.com/openzim/mwoffliner/issues/1611.
A possible mechanism would be to devolve search for each archive to a Web Worker -- these could run simultaneously. A function would then eliminate duplicate search results from the older archive(s).
Seems too much like a "Geek" feature that would require major re-engineering for little gain....