Skip to content

suggestion: add explanation about the disabled compress option of server-adapter to workarounds section #35

Closed as not planned
@imattferreira

Description

@imattferreira

Hey, what's up everyone?!

Today, when the server-adapter creates a NextJS server, the open-next disables the compress option and in the code is mentioned a bug in the bundled compression package, this being the cause of the option being disabled.

https://github.com/serverless-stack/open-next/blob/265acefeaeac5511cee84089a71d79412a3aad21/src/adapters/server-adapter.ts#L22-L24

With this option disabled, the server don't compress rendered content causing a decrease performance in the network transfers between server to the client.

I would particularly like to see a better explanation and a possible recommendation to make a alternative solution about this in the Limitations and workarounds of readme, to turn this limitation of open-next more evident to other developers that want to use this lib.

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