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

Feature Request: Virtualization #2615

Open
audipasuatmadi opened this issue Nov 7, 2024 · 0 comments · May be fixed by #2623
Open

Feature Request: Virtualization #2615

audipasuatmadi opened this issue Nov 7, 2024 · 0 comments · May be fixed by #2623

Comments

@audipasuatmadi
Copy link

audipasuatmadi commented Nov 7, 2024

Describe the problem to be solved
When the OpenAPI gets very large (190K+ lines of code in the OpenAPI), it causes Redoc performance to drop significantly. In average consumes 1.2GB of the browser's memory and it took 1.2 minute for the First Contentful Paint (FCP).

Describe the solution you'd like
One of the potential solutions I analyzed is Virtualization. Currently it would render the whole HTML page, which is quite good for small OpenAPIs, but could hurt huge API specifications.

By having Virtualization, I believe it will improve Redoc significantly on larger API Documentations as the browser will only render what is currently user is seeing.

Of course not everyone would like to have Virtualization. So perhaps adding it as one of the configuration options will help.

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant