Skip to content
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

Page Resources: Include Cached Resources #465

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Conversation

ikreymer
Copy link
Member

Ensure cached resources (that are not written to WARC) are still included in the url:pageinfo:... records. This will make it easier to track which resources are actually loaded from a given page.

To test, run crawl for a site with cached resources, such as https://webrecorder.net/ and verify that each page pageinfo includes all the resources.

…age resources dict, even if not written to WARC
@ikreymer ikreymer requested a review from tw4l February 16, 2024 19:12
Copy link
Member

@tw4l tw4l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with a https://webrecorder.net crawl - pages like /about have cached resources written into the pageinfo record after the change.

@ikreymer
Copy link
Member Author

Also added tests to verify urn:pageinfo: records

@ikreymer ikreymer merged commit 96f3c40 into dev-1.0.0 Feb 16, 2024
4 checks passed
@ikreymer ikreymer deleted the page-res-cached branch February 16, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants