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

Increased useful data in HAR file #434

Open
dkuznetsov21 opened this issue Oct 17, 2024 · 0 comments
Open

Increased useful data in HAR file #434

dkuznetsov21 opened this issue Oct 17, 2024 · 0 comments

Comments

@dkuznetsov21
Copy link

Problem

Currently, the HAR file lacks sufficient information since the responses are missing in the requests. Therefore, we need to include responses.

However, after adding the responses, the HAR file becomes very large. We need to figure out a way to reduce its size.

Suggested Solutions

  • Compression: Compress the file into an archive.
  • Selective Capture: Record only fetch/XHR (potentially WebSocket) requests, since these are relevant in 99% of cases.
  • Options for Customization: Introduce additional configuration options for HAR file generation, so users can dynamically decide what they need to capture.

Additional Reference

In the Telegram support chat, they shared how dynamic capture for HAR files is implemented. You can check it out here:
https://github.com/browserup/browserup-proxy/blob/0f28ec6e8f1423e1fdb014fded72e9278bdd083f/browserup-proxy-core/src/main/java/com/browserup/bup/proxy/CaptureType.java#L15

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

No branches or pull requests

1 participant