• 0

HTML / CSS / Javascript Minimizer Recommendations


Question

Hello everyone!

I'm trying to reduce the size of my site so that I can speed it up a bit and was looking at minimizers.  I have found a few online, but wanted to ask what everyone else uses.

I have two requirements:
1) I would prefer an application that I could install on my machine as opposed to a website.

2) I would like something that will allow me to batch all of my html / css/ and javascript files all at once just for conveniences sake.

 

Does anyone have any that they would recommend?

 

Thanks again for your help!

4 answers to this question

Recommended Posts

  • 0
  • 0

I personally use Koala for batch less/sass compilation and css/js minification. You can also have a file automatically processed on each edit, this way you can locally work on a website and have the minified js updated on every edit. 

 

Also you could consider using an IDE like webstorm which has above features plus a lot more functionality all combined in a single application.

 

Also minifying html isn't worth the gain these days, most optimization that can be done is removing line breaks and whitespace which is negligible. As example if you're worried that your html is too big in a search result page you could consider implementing pagination.

 

Minifying is not such a big speed gain as most people expect, yes the first page load is faster but the page loads after that use the cached resources so it doesn't matter anymore if the resources are minified or not.

 

So why do sites minify anyway even when resources are cached anyway on the first visit?

Obviously they want the first visit to be fast too and they want to save bandwidth by having smaller resources.

  • 0

Thank you both for your help.

I don't honestly yet know the merits or value of minifying my html, however it was something that I was looking into (along with reducing the size of images, minifying the css, etc.).  I will deinitely take a look at Grunt as well.

A large amount of my traffic comes from mobile anymore, and as a result I just want to make sure that I have the fastest experience possible.  While optimizing the images doesn't impact my development work each week, minifying the html for instance creates a significant maintenance headache if I cannot do it on the fly prior to publishing the site update (i.e. maintaining a readable copy for edits).  That's why I was originally looking into this.  I was really shocked at how few tools actually exist to do this beyond one page at a time...  That hardly seems productive.  lol

Thank you both for your help.  I am going to continue to look at options and ideas for further improving the speed of the site, and will give this a try.  If it isn't cumbersome to implement, and the gains are there, I would definitely start doing this.  :)

  • 0

At least you are not one of those nut case minimalists that hand craft the smallest possible HTML and then completely idiotically ignore the megabytes of payload that SEO and Adsense stuff add to the page.

 

BTW, just search GitHub on keywords like "Javascript" and "ES6" and then sort the results by # of stars and you will get tons and tons of pre-canned "workflows" that will include all the popular minimizing utils. Darned good chance that one of the popular workflows will suit your own personal style.

 

Even just browsing through just the Facebook GitHub will yield tons of illuminating information on all aspects of webdev.

 

This topic is now closed to further replies.
  • Posts

    • Just saw a news report of a Waymo driving into a flooded road.
    • Password Safe 3.72.0 by Razvan Serea Password Safe is a password database utility. Like many other such products, commercial and otherwise, it stores your passwords in an encrypted file, allowing you to remember only one password (the "safe combination"), instead of all the username/password combinations that you use. Once stored, your user names and passwords are just a few clicks away. Using Password Safe you can organize your passwords using your own customizable references—for example, by user ID, category, web site, or location. You can choose to store all your passwords in a single encrypted master password list (an encrypted password database), or use multiple databases to further organize your passwords (work and home, for example). And with its intuitive interface you will be up and running in minutes. PasswordSafe was originally designed by the renowned security technologist Bruce Schneier and released as a free utility application. Password Safe 3.72.0 changelog: Fixed bugs Improved font scale handling - should resolve font size issues on high resolution displays. GH1749 In the Master Password Setup window, "Show Master Password" is no longer truncated on some displays. GH1092, SF1595 Size and position of main window is now correctly restored on scaled displays. SF1630 Keep password expiry date when both password and password expiry are changed; don't clear a non-recurring expiry when the password's changed. SF1628 Custom values can now be copied to the clipboard in read-only mode via Ctrl-C and right-click->Copy Value. New features GH1196 Dark display mode support: Password Safe now supports the system display mode, as well as setting the mode directly via Manage->Options->Display->Display Mode. This change also updates the general "look & feel" of the app to the current Windows theme. Known limitations: The Date picker and keyboard shortcut controls do not switch to dark theme The Customize Toolbar dialog does not switch to dark theme Custom Field support has been added to the more advanced features: Filters XML and Text import and export Comparison, Sync and Merge databases SF938 Custom field values may now be selected by name and copied via a "Copy Custom Field Value..." submenu in the entry context popup menu. SF936 Notes and Custom fields layout now overlap, selectable by tabs, resulting in a more compact and less cluttered layout. SF935 Autotype: Specifying '\v{name}' in the autotype text will cause the corresponding value to be autotyped. Download: PasswordSafe 64-bit | Portable 64-bit | ~20.0 MB (Open Source) Download: PasswordSafe 32-bit | Portable 32-bit View: PasswordSafe Website | Quickstart Guide | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Google DeepMind published a document on June 18, 2026, that may be the most consequential admission yet from a frontier AI lab: alignment training alone cannot guarantee that AI agents will remain under human control, so structural containment must be built before more capable models arrive.............. https://www.techtimes.com/articles/318758/20260620/google-deepmind-ai-control-roadmap-when-alignment-fails-defense-depth-takes-over.htm  
    • I've got a SoundBlasterX G6 that I use in my streaming setup. Sounds great to me and I've had zero issues with the ancient software package so far in Win11. That G6 has 7.1, Dolby, fully working SPDIF and since it's a USB device it's outside of my rig so I don't have to worry about EMF distortion. Looks like for now this is a pass for me as I think I have better hardware....
    • How do you connect 5.1 Speakers to this thing?
  • Recent Achievements

    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
    • Week One Done
      Genuinetonerink- Dubai earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      503
    2. 2
      +Edouard
      170
    3. 3
      PsYcHoKiLLa
      88
    4. 4
      Steven P.
      75
    5. 5
      Michael Scrip
      74
  • Tell a friend

    Love Neowin? Tell a friend!