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

Alessandro Menduni
Feb 24, 2017 · 1 min read

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.

West Wing Solutions

Learning material for eCommerce owners eager to explore the science behind building a successful online product.

Alessandro Menduni

Written by

I Help Online Businesses CONVERT High Traffic Volume Into Customers | https://www.westwingsolutions.com

West Wing Solutions

Learning material for eCommerce owners eager to explore the science behind building a successful online product.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade