#ASKTHEINDUSTRY 14: What can I do to lower my JavaScript parse times today?

Alessandro Menduni
West Wing Solutions
1 min readFeb 24, 2017

This one is incredibly simple, yet not quite easy to do.

Here are my 5 strategies:

  1. Ship less JavaScript
  2. Use less transpiled code
  3. Split your code in separate bundles
  4. Enable a tree shaking and dead-code elimination build step, if you’re bringing in a lot of dependencies
  5. If using a modern framework, see if Ahead of Time compilation is available (AoT)

That’s it.

This piece is part of the #ASKTHEINDUSTRY project, a series of daily conversations with the Web Dev industry. You ask, I’ll answer, or find someone who can.

--

--

Alessandro Menduni
West Wing Solutions

JavaScript Engineer, passionate about testing JavaScript and software architecture