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

code.visualstudio.com website loads terribly slow on low bandwidth connections #7850

Open
burtonrodman opened this issue Dec 3, 2024 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@burtonrodman
Copy link

burtonrodman commented Dec 3, 2024

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. limit your internet connection 15Mbps down, 2Mbps up
  2. visit https://code.visualstudio.com
  3. notice that the home page screenshot takes on the order of 30 seconds to load
  4. notice that both the dark and light screenshots load regardless of current theme -- and each are 1.2MB in size
  5. notice that many other images on the page are broken
@burtonrodman
Copy link
Author

Image

@DonJayamanne DonJayamanne assigned sbatten and unassigned DonJayamanne Dec 9, 2024
@sbatten sbatten transferred this issue from microsoft/vscode Dec 9, 2024
@sbatten sbatten assigned rzhao271 and digitarald and unassigned sbatten Dec 9, 2024
@rzhao271 rzhao271 added the bug Issue identified by VS Code Team member as probable bug label Dec 9, 2024
@rzhao271 rzhao271 added this to the Backlog milestone Dec 9, 2024
@digitarald
Copy link
Contributor

https://pagespeed.web.dev/analysis/https-code-visualstudio-com/gt6zktz098?form_factor=desktop

Feels like some of these areas were fixed in the past, like deferred loading and gzipped JS/CSS files.

  1. Serve images in next-gen formats Potential savings of 2,067 KiB
  2. Avoid large layout shifts 2 layout shifts found
  3. Largest Contentful Paint element 3,140 ms
  4. Defer offscreen images Potential savings of 1,217 KiB
  5. Properly size images Potential savings of 1,296 KiB
  6. Enable text compression Potential savings of 513 KiB
  7. Reduce unused JavaScript Potential savings of 301 KiB
  8. Reduce unused CSS Potential savings of 189 KiB
  9. Eliminate render-blocking resources Potential savings of 250 ms
  10. Image elements do not have explicit width and height
  11. Serve static assets with an efficient cache policy 47 resources found
  12. Avoid serving legacy JavaScript to modern browsers Potential savings of 0 KiB
  13. Avoid enormous network payloads Total size was 3,686 KiB

@digitarald
Copy link
Contributor

@pierceboggan as you update the images it would be a good time to double check they are exported properly and in the right size (maybe even switch to webp).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

5 participants