Skip to content

keep alive on Node env #162

@leomp12

Description

@leomp12

To improve SSR performance, on Node we should create axios instance by default with options:

httpAgent: new http.Agent({ keepAlive: true }),
httpsAgent: new https.Agent({ keepAlive: true }),

It may be optionally disabled with a new env var.

use https://undici.nodejs.org/#/ ? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions