- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add initial pages + pagesQuery endpoint to /replay.json APIs #2380
Conversation
Do we also want to return seeds and the additional pages query url in the replay.json for crawls? |
8271965
to
bb9bd32
Compare
tests: add test 'pagesQuery' for both private and public collections
Needs some testing and possible refinement
Includes information for all WACZ files in collection that contain seed pages or have no associated pages in the database.
- rename pages -> seedPages - rename alwaysLoad -> preloadResources - rename pagesQuery -> pagesQueryUrl - optimize loading preloadResources as part of resource lookup - remove seed page wacz files from preloadResources, can be computed from seedPages list - tests: add additional tests for preloadResources, seedPages
386fb98
to
1e1cf12
Compare
update tests
Added |
tests: add test 'pagesQuery' for both private and public collections
Needs some testing and possible refinement
Includes information for all WACZ files in collection that contain seed pages or have no associated pages in the database.
- rename pages -> seedPages - rename alwaysLoad -> preloadResources - rename pagesQuery -> pagesQueryUrl - optimize loading preloadResources as part of resource lookup - remove seed page wacz files from preloadResources, can be computed from seedPages list - tests: add additional tests for preloadResources, seedPages
61d0a15
to
dd664cb
Compare
One more small change, what if instead of seedPages we went with |
add totalPages collection pages: default sort order seeds first, then by timestamp
…x-cloud into replay-json-pages
Fixes #2360
seedPages
to /replay.json response for collections, returning upto 25 seed pages.pagesQueryUrl
to /replay.jsonpreloadResources
, including list of WACZ files that should always be loaded, to /replay.jsonDraft pending work in wabac.js to ensure this is complete.