Skip to content

Enhancement suggestion: set GZIP compression to true when creating Cloudfront distribution #71

Open
@oussj

Description

@oussj

Hello!

Most of the suggestion is in the title. When I audited with Lighthouse my static website deployed with the serverless website component, I found out that I had a lot to win by gzipping my assets.

Gzipping is not enabled by default when creating the distribution as I could see it here

I suggest to set this value to true by default instead of false

Otherwise, if for some reason the default behaviour should not change, I suggest adding it as an optional input in the serverless.yml file

I'd be happy to do the pull request.

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