Astro: How to Set Up More Powerful HTML Minification (in 31 Seconds), by @j9t [@frontenddogma]:

https://meiert.com/blog/astro-html-minification/

#howtos #astro #html #htmlminifier #minification #optimization

Astro: How to Set Up More Powerful HTML Minification (in 31 Seconds) · Jens Oliver Meiert

On improving HTML as well as CSS, JS, and SVG minification in Astro projects.

Web page minification:

HTML Minifier Next now comes with a zero-config mode, to enable quick, comprehensive in-place minification.

🖥️ Run `npx html-minifier-next --zero` in any folder, to compress HTML pages and inline CSS, JS, and SVG with comprehensive defaults.

(The command shares the internals and can be aborted. To test, use under version control.)

#html #htmlminifier #minification #performance

#Development #Comparisons
Minifier benchmarks · Updated comparisons of HTML minifier capabilities https://ilo.im/16ano2

_____
#HTML #Minification #Benchmarks #Metrics #WebPerf #WebDev #Frontend

GitHub - j9t/minifier-benchmarks: Regularly updated benchmarks for web page minification

Regularly updated benchmarks for web page minification - j9t/minifier-benchmarks

GitHub

RE: https://mas.to/@frontenddogma/116073609050757739

After looking at the minifier benchmarks landscape with Kirill Maltsev (htmlnano), I’ve set up a new repo to collaborate on benchmarks.

Extending samples, splitting HTML and “full” minification, adding deltas and averages have already improved the picture.

Comments and reshares welcome!

#html #minification #optimization

GitHub - j9t/minifier-benchmarks: Regularly updated benchmarks for web page minification

Regularly updated benchmarks for web page minification - j9t/minifier-benchmarks

GitHub
On the Need for Neutral Maintained Minifier Metrics

To improve production performance, we use minifiers. For HTML, there are several HTML minifiers, with...

DEV Community
The two most important tools for HTML developers

Does this title say “HTML developer”? It does! Sadly, it’s not a thing. But: any developer writing...

DEV Community
Comparing HTML Minifiers · Jens Oliver Meiert

How do HTML Minifier Next, HTML Minifier Terser, htmlnano, @swc/html, minify-html, minimize, and htmlcompressor.com compare in terms of effectiveness, speed, and maintenance?

Relatively to itself, HTML Minifier Next is by now 4–6 times faster (!) than when the project started (and, therefore, its predecessors).

This comes in addition to maintained dependencies, bug fixes, and new features.

Try it out—and let me know about issues and suggestions!

https://www.npmjs.com/package/html-minifier-next

#html #minification #optimization

The Two Most Important Tools for HTML Developers, by (not on Mastodon or Bluesky):

https://dev.to/cfried/the-two-most-important-tools-for-html-developers-24nb

#tooling #html #conformance #minification #htmlminifier

The two most important tools for HTML developers

Does this title say “HTML developer”? It does! Sadly, it’s not a thing. But: any developer writing...

DEV Community