-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for dynamic page loading + multi WACZ loading optimization (#220
) When dealing with multi-WACZ collection specified via json manifest, loading all WACZ files on init becomes unscalable. This PR provides an initial optimization to: - Avoid loading all WACZ files on load for multi WACZ, if pagesQueryUrl is provided, also avoid loading textIndex for all WACZs - Support for querying pages for exact match 'url' param via pagesQueryUrl to determine if pages exist, and which WACZ files they're in, and only loading those. - Support for preloadResources to automatically load a subset of WACZ files (such as those that have no pages, for patches). - Support loading initial pages in initialPages list - Track if page is a seed via isSeed, store isSeed in pages data, also store waczhash. - Handling of crawl id in initial pages and wacz files to build a mapping of seed-page-for-crawl to always load the WACZ that contains seed pages. - Fallback to load all WACZs if < 3 files total. - Dynamic search interface via pagesQueryUrl with 'search', 'page', 'pageSize' params. - bump wombat to 3.8.8 - bump to 2.21.0
- Loading branch information
Showing
7 changed files
with
310 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.