home.social

#htmlminifier — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #htmlminifier, aggregated by home.social.

  1. Web page minification:

    HTML Minifier Next is almost a year old now, coming with security updates, bug fixes, new features, and *significantly* better performance than its predecessors.

    Now I strongly recommend to update—HTML Minifier (HM) and HTML Minifier Terser (HMT) have severe bugs and gaps around HTML and CSS minification.

    Please do your own tests, but note that HM is officially unmaintained and HMT hasn’t been updated in years:

    npmjs.com/package/html-minifie

    #html #htmlminifier #minification

  2. 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

  3. If you're a HTML Minifier (HM) or HTML Minifier Terser (HMT) user, I suggest to have a look at HTML Minifier Next (HMN).

    HMN:

    * includes security updates and bug fixes
    * provides additional configuration options (including presets)
    * is faster
    * comes with a more comfortable web version
    * is run by someone who ❤️s HTML

    HMN is generally compatible with HM and HMT.

    * npm: npmjs.com/package/html-minifie
    * GitHub: github.com/j9t/html-minifier-n
    * Web: j9t.github.io/html-minifier-ne

    #html #htmlminifier #minification

  4. HTML Minifier Next (maintained and enhanced successor of HTML Minifier) now allows to save and bookmark settings and (small) samples.

    See e.g. is.gd/yXn4EX (too long to share without shortening) for a quick example.

    #html #minification #htmlminifier #optimization