Skip to content

Feature Request: Virtualization #2615

Open
@audipasuatmadi

Description

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!

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions