Skip to content

precompress static pages as brotli #13

@skyfaller

Description

@skyfaller

One possible compression program:
https://github.com/neosmart/static-compress

Use precompressed directive for Caddy to check for the existence of precompressed files:
https://caddyserver.com/docs/caddyfile/directives/file_server

It'll be easy enough to run the first time. The question is, how do we make sure to re-compress only the files that have changed on a static website? Maybe run https://github.com/kurtbuilds/checkexec

How do we install these unusual programs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions