Skip to content

API reference: switching between kubectl and curl examples takes several seconds #9271

@tbroadley

Description

@tbroadley

This is a...

  • Feature Request
  • Bug Report

Problem:
Switching between the kubectl and curl examples using the buttons on the top right makes the page unresponsive for several seconds. Here's a flame graph:

image

I expect this is because all the examples on the page are being switched at the same time.

Proposed Solution:
Since the root cause is not known for sure, I'm hesitant to suggest a solution. If it is caused by swapping all the examples simultaneously, perhaps only swap examples as they enter the viewport?

Page to Update:
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions