Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

precompress static pages as brotli #13

Open
skyfaller opened this issue Mar 19, 2022 · 0 comments
Open

precompress static pages as brotli #13

skyfaller opened this issue Mar 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@skyfaller
Copy link
Contributor

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?

@skyfaller skyfaller added the enhancement New feature or request label Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant