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

Feature request: Gzip pre-compressed #38

Open
Waxolunist opened this issue Sep 18, 2020 · 1 comment
Open

Feature request: Gzip pre-compressed #38

Waxolunist opened this issue Sep 18, 2020 · 1 comment

Comments

@Waxolunist
Copy link

Would be great, if there exists a gzip option.
If a file requestes with the extension .gz exists, deliver that file, otherwise the one requested.
For example /index.html.gz instead of index.html

@Waxolunist Waxolunist changed the title Feature request: Gzip Feature request: Gzip pre-compressed Nov 17, 2020
@PierreZ
Copy link
Owner

PierreZ commented Apr 21, 2021

Hi, sorry I missed your feature request.

I think we could detect the Accept-Encoding header and compress on the fly if presents.

Are you willing to contribute to goStatic? 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants