home.social

#minification — Public Fediverse posts

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

fetched live
  1. Stumbled into an escaping-related, medium–high security vulnerability in 3 (!) minifiers today:

    * Fixed and also officially reported in HTML Minifier Next (upgrade to 7.5.2!)
    * Reported via security-related channels to the other two minifiers (first time to rely on SECURITY.md—useful)

    It came up while reviewing and rerunning benchmarks across minifiers, but wasn’t the find to expect (a vulnerability that existed between 8 months and… 10 years).

    #minification #htmlminifier #security

  2. Stumbled into an escaping-related, medium–high security vulnerability in 3 (!) minifiers today:

    * Fixed and also officially reported in HTML Minifier Next (upgrade to 7.5.2!)
    * Reported via security-related channels to the other two minifiers (first time to rely on SECURITY.md—useful)

    It came up while reviewing and rerunning benchmarks across minifiers, but wasn’t the find to expect (a vulnerability that existed between 8 months and… 10 years).

    #minification #htmlminifier #security

  3. Releasing hihtml, a Supertool for HTML Validation, Link-Checking, and Minification:

    What if you only needed one tool to handle all the key HTML optimization tasks?

    meiert.com/blog/hihtml/

    #tools #webdev #html #conformance #validation #links #minification #quality #optimization

  4. Releasing hihtml, a Supertool for HTML Validation, Link-Checking, and Minification:

    What if you only needed one tool to handle all the key HTML optimization tasks?

    meiert.com/blog/hihtml/

    #tools #webdev #html #conformance #validation #links #minification #quality #optimization

  5. Some resources that can help you decide and migrate:

    📊 Benchmarks comparison if you’d be shopping for a new HTML or web page minifier:

    github.com/j9t/minifier-benchm

    🌈 HTML Minifier Next presets, one feature that makes HTML Minifier easier to use:

    github.com/j9t/html-minifier-n

    💡 HTML Minifier Next upgrade guide detailing some of the biggest changes when switching from HM or HMT:

    meiert.com/blog/html-minifier-

    #html #minification

  6. Some resources that can help you decide and migrate:

    📊 Benchmarks comparison if you’d be shopping for a new HTML or web page minifier:

    github.com/j9t/minifier-benchm

    🌈 HTML Minifier Next presets, one feature that makes HTML Minifier easier to use:

    github.com/j9t/html-minifier-n

    💡 HTML Minifier Next upgrade guide detailing some of the biggest changes when switching from HM or HMT:

    meiert.com/blog/html-minifier-

    #html #minification

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

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

  9. HTML minification:

    Would it be useful for you if a minifier came with the option to report obsolete and proprietary HTML code?

    I’m thinking about adding a report option to HTML Minifier Next which would enable this.

    If you have a preference or feedback, this would help! (Please reshare for more input!)

    github.com/j9t/html-minifier-n

    #html #minification

  10. HTML minification:

    Would it be useful for you if a minifier came with the option to report obsolete and proprietary HTML code?

    I’m thinking about adding a report option to HTML Minifier Next which would enable this.

    If you have a preference or feedback, this would help! (Please reshare for more input!)

    github.com/j9t/html-minifier-n

    #html #minification

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

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

  13. RE: mas.to/@frontenddogma/11607360

    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

  14. RE: mas.to/@frontenddogma/11607360

    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

  15. 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!

    npmjs.com/package/html-minifie

    #html #minification #optimization

  16. 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!

    npmjs.com/package/html-minifie

    #html #minification #optimization

  17. HTML Minifier Next now provides the option to change JS minifiers, by adding support for SWC 🚀

    To change from Terser to SWC, specify the engine for `minifyJS` as in

    `minifyJS: {
    engine: 'swc'
    }

    and install @swc/core as a dev or main dependency (`npm i @swc/core`).

    Enjoy significantly faster performance on JS-heavy HTML pages!

    #html #js #minification #swc

  18. HTML Minifier Next now provides the option to change JS minifiers, by adding support for SWC 🚀

    To change from Terser to SWC, specify the engine for `minifyJS` as in

    `minifyJS: {
    engine: 'swc'
    }

    and install @swc/core as a dev or main dependency (`npm i @swc/core`).

    Enjoy significantly faster performance on JS-heavy HTML pages!

    #html #js #minification #swc

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

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

  21. HTML minification:

    Extended the HTML Minifier Next benchmarks with @swc/html, and regenerated the data:

    github.com/j9t/html-minifier-n

    The goal of HMN is to (keep) deliver the best minification results, so if you spot an issue with another tool’s settings, please help keep the tests ambitious!

    #html #minification #optimization

  22. HTML minification:

    Extended the HTML Minifier Next benchmarks with @swc/html, and regenerated the data:

    github.com/j9t/html-minifier-n

    The goal of HMN is to (keep) deliver the best minification results, so if you spot an issue with another tool’s settings, please help keep the tests ambitious!

    #html #minification #optimization

  23. HTML Minifier Next (maintained successor of HTML Minifier) now comes with presets, making it easier to get started:

    github.com/j9t/html-minifier-n

    Simple demo: is.gd/CA2C3v

    #html #minification #optimization

  24. HTML Minifier Next (maintained successor of HTML Minifier) now comes with presets, making it easier to get started:

    github.com/j9t/html-minifier-n

    Simple demo: is.gd/CA2C3v

    #html #minification #optimization

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

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