Skip to content

gzip’ped instead of PKZIP’ped HTML (as an option) #16

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

Open
mirabilos opened this issue Aug 1, 2021 · 1 comment
Open

gzip’ped instead of PKZIP’ped HTML (as an option) #16

mirabilos opened this issue Aug 1, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mirabilos
Copy link

If it’s not too much effort…

Looking at createHtmlBundle() I think the HTML export file itself is not cached, and the content is always just one file, so it should be possible to offer gzip(1)-compressed in addition to PKZIP-archived HTML. python3-gzip exists and even defaults to a suitable compression level (which, for gzip (in contrast to some others), is the highest).

This would help Unix users as it’s easier to decompress there (and, in fact, the browser can often do that… I know even MSIE 5 did that when it was not supposed to). I’d leave the PKZIP export in though for the “average desktop OS user”.

@iridescent-beacon iridescent-beacon added the enhancement New feature or request label Aug 27, 2021
@iridescent-beacon
Copy link
Member

This also seems reasonable and shouldn't be too much work. Will mostly be a test to see how hard I made it to extend the export type list :p

Will see about making this change over the weekend.

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

2 participants