{"by":"georges_gomes","descendants":58,"id":39816836,"kids":[39818878,39817677,39817878,39817305,39818287,39819156,39819696,39819450,39819698,39818835,39820031,39817741,39818516,39827249,39820729,39818850,39818860,39822231,39820927,39817612,39825602],"score":328,"text":"Hi!<p>Jampack is a post-processing tool that takes the output of your Static Site Generator (aka SSG) and optimizes it for best user experience and best Core Web Vitals scores.<p>As of today it can:<p>- Optimize local images, CDN images or external images<p>- Optimize above-the-fold vs below-the-fold<p>- Limit images max width<p>- Inline critical CSS<p>- Prefetch links on scroll<p>- Improve browser compatibility<p>- Auto-fixes HTML issues<p>- Warn for HTML accessibility issues<p>- Compress all assets in the end<p>It processes directly the static output so it&#x27;s compatible with any SSG or framework. We are intensively using it as a post-processing step to our Astro websites for example.<p>With Jampack, we end-up focusing more on how simple, readable and maintainable our code is, throw images of any size, and let it optimize for maximum performance.<p>We hope this can be helpful to lot of people!\nCheers,\nGeorges and the ‹div›RIOTS team!","time":1711377166,"title":"Show HN: Jampack – Optimizes static websites as a post-processing step","type":"story","url":"https://github.com/divriots/jampack"}