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

Large JSON response preview performance is poor #324

Open
wfhartford opened this issue Sep 25, 2018 · 2 comments
Open

Large JSON response preview performance is poor #324

wfhartford opened this issue Sep 25, 2018 · 2 comments

Comments

@wfhartford
Copy link

When an HTTP response body is very large, the performance of the preview tab is very bad, causing the browser to hang while rendering. If the performance of the JSON rendering cannot be improved, it might be a good idea to warn the user before starting the render of very large response bodies, or provide a configurable maximum size to render, reverting to the plain text view like the response tab if the body is too large.

@smoore4moma
Copy link

I've done this before (requested too much and the browser hangs), but I never thought of it as a problem with RESTClient. Instead you can select "Download response body" and then open it with a text editor or other.

@wfhartford
Copy link
Author

My opinion is that if an extension hangs the browser, it is an issue with the extension. If a user is aware that they are going to be getting a very large response, they can certainly avoid the "preview" tab, but I am often surprised by the size of the response, or simply forget that the response will be large while the "preview" tab is already selected.

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

2 participants