kiwix-js-pwa icon indicating copy to clipboard operation
kiwix-js-pwa copied to clipboard

Consider implementing differential reading of two or more ZIM archives

Open Jaifroid opened this issue 1 year ago • 2 comments

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.

Jaifroid avatar Aug 30 '22 14:08 Jaifroid

See also https://github.com/openzim/mwoffliner/issues/1611.

Jaifroid avatar Aug 31 '22 03:08 Jaifroid

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).

Jaifroid avatar Aug 31 '22 06:08 Jaifroid

Seems too much like a "Geek" feature that would require major re-engineering for little gain....

Jaifroid avatar Sep 04 '23 09:09 Jaifroid