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

Minimize output #395

Open
mothsART opened this issue Jul 7, 2024 · 2 comments
Open

Minimize output #395

mothsART opened this issue Jul 7, 2024 · 2 comments

Comments

@mothsART
Copy link

mothsART commented Jul 7, 2024

Output could be really fat.

Why not propose an option for optimize a little :

  • html
  • css
  • javascript
  • svg
  • pictures
  • etc

There's a lot of tool in Rust who do that :

  • html-minifier
  • lightingcss
  • swc
@berrymot
Copy link

or, minimize the inputs, that way you also shave off whitespace in e.g. linked stylesheets

@edent
Copy link

edent commented Oct 18, 2024

Just as a comparison, I used both Monolith and SingleFile to download the same page.

  • Monolith: 1.7MB
  • SingleFile: 300KB

Obviously, that varies a little between pages. But Monolith's files are generally a lot larger than SingleFile's files.

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

3 participants