This is exactly what I've been looking for. I had been using my own scripts with Sharp for image optimizations like this, but this eliminates the need for the that entirely and works much better!
I ran Jampack after building my Quarto static site and got a 32% smaller folder with no noticeable drawbacks yet. Here are my metrics before Jampack and after using PageSpeed Insights:
before Jampack:
- mobile: - 52 Performance - 73 Accessibility - 100 Best Practices - 85 SEO
- desktop: - 90 Performance - 75 Accessibility - 100 Best Practices - 82 SEO
after Jampack:
- mobile: - 49 Performance - 80 Accessibility - 100 Best Practices - 92 SEO
- desktop: - 85 Performance - 82 Accessibility - 100 Best Practices - 91 SEO
Hi! Happy you enjoyed it! I would have expected better results for Performance metrics! If you don't mind sharing your static site output pre-jampack I would enjoy checking out. georges [at] divriots [dot] com
Just want to say this two comment interaction is a perfect distilled example of value of posting to HN for such things.
I would say it's exactly why I miss the network of forums of old internet, where this interaction was common on pretty much any subject matter from video game saves to tooling to whatever.
Facebook groups, discord rooms, reddit subs and the likes just aren't the same, they all feel so impersonal and detached, in some people compete for internet points, in others everything is ephemeral and closed off ... Maybe it's just nostalgia / me being old.
Sam's Law:
"As an idea or subject gains wider popularity and interest, the level of passion and laser focus on the _outcomes_ of the idea or subject gets diluted to the average level of understanding of the interested audience for the core subject"
(my weak attempt at describing this issue)
The Peter Principle of communities: They grow until they become useless.
Petering out, as it were :-)
I think it depends on which ones you're using. There are some facebook groups and subreddits I use that still feel very much like a small-forum, where people are generally good and helpful and many of the users are regulars. I haven't seen any discord rooms like that except for some ones that are direct spinoffs of the facebook groups and subreddits I mentioned, so that seems more like a credit to the users than the medium.
I think they have to be pretty niche, though. But to be fair, forums of the old internet also had similar issues where once they reached a certain size the experience was different/worse than when they were smaller.
I've zipped it up and sent a link.
Remember that Lighthouse (and therefore PageSpeed Insights) scores fluctuate. Consider running multiple times and taking median scores when doing comparisons of performance like this. "The median Lighthouse score of 5 runs is twice as stable as 1 run" https://developers.google.com/web/tools/lighthouse/variabili...
That's a fair point. There were certainly small discrepancies when I ran it multiple times, but I'll use the median metric moving forward.