Skip to content

Support for a stripped down build with fewer transports? #1019

Closed
@JulesAU

Description

@JulesAU

The socket.io JS bundle is currently ~190kB. I'm wondering if there's any support for building only the required transports to help reduce the weight - other than hacking the source?

I presume many modern apps target only browsers which support websockets; so all the other fallbacks / workarounds are superfluous in that case. But socket.io remains a nice, robust, tested API to build with even in those cases.

I'm aware that it's only ~20kB when minified and gzipped; but it's still a lot of JS to parse for mobile devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions