perf: slow page load following item search completion

Open
#151 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
54/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by locating the documentation site's search completion and page navigation entry points, then profile navigation to the aws-cdk-lib.aws_s3.Bucket page after pressing Enter. The report gives a roughly 7-second delay but does not identify the relevant files or a failing test. Done means the Bucket reference page loads promptly after search completion and the change is verified against that flow.

Written by the indexing model from the issue text.

Description

When I type "Bucket" into the search bar and hit the Enter key, the URL changes immediately to https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Bucket.html, but it takes about 7 seconds before the Bucket L2 Construct page actually loads. See attached video.

macOS 26.7.1 (25G241)
Google Chrome Version 156.0.8078.48 (Official Build) (arm64)

https://github.com/user-attachments/assets/f14541a5-6579-4ab9-85d7-bcfc11ddbe5b

Dominant language
TypeScript
Stars
0
Forks
2
Avg merge
14h 24m
Merged PRs (30d)
91

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cdklabs/awscdk-docs

All issues in cdklabs/awscdk-docs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.