Skip to content

workbench.api.js takes very long time to load in 3.1.1 and not cached properly on FireFox #1536

Closed
@marty1885

Description

@marty1885

Hi,

I've just updated code-server to 3.1.1. And I run my code-server on a remote server. I find the new code-sever taking fairly long (about 1.3 minute in my case). It seems to be caused by the long loading time of workbench.api.js. Furthermore on FireFox, this file although cached by FireFox; FireFox won't use the cache on the next load. Rendering opening code-server a waiting game.

Also, as a side note. My PC can connect to the server at ~30Mbits/s but workbench.api.js loads ~880Kbits/s. Which is quite slow.

(loading time of workbench.api.js on Chrome)
image

(FireFox loads the file every time)
image
image

Best

OS: Arch Linux AArch64
VSCode: 3.1.1
Installed via PKGBUILD

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions