Skip to content

Use real streaming for loading webview resources #311836

Closed

Description

@mjbvz

Let's see if we can speed up webview perf by using proper streams to load resources

Right now we instead have to read the entire resource in to a buffer and then send that large buffer over. That's especially bad for large resources such as video files

Activity

  1. added this to the 1.118.0 milestone on Apr 22, 2026
  2. added a commit that references this issue on Apr 22, 2026
    43b8edc
  3. vs-code-engineering commented on Apr 22, 2026

    @vs-code-engineering
    Contributor

    Sharing media from merged PR #311844 for verification:

    Screenshot 2026-04-21 at 11 29 43 PM Screenshot 2026-04-21 at 11 27 57 PM

    Source PR: #311844

  4. added
    unreleased
    on Apr 22, 2026
  5. mjbvz commented on Apr 22, 2026

    @mjbvz
    ContributorAuthor

    To verify, test both vscode desktop and vscode.dev. Try loading a few webviews (such as the image preview, notebooks, and markdown preview) and confirm they work fine

    There's no user facing way to confirm this as it's all just implementation stuff. We just want to confirm we're not breaking any webviews

  6. added
    verification-needed
    on Apr 22, 2026
  7. added
    insiders-released
    and removed
    unreleased
    on Apr 23, 2026
  8. locked and limited conversation to collaborators on Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

insiders-releasedperfverification-neededwebview

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions