Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:14Length:1.5 hours
Webpack 1
  • Overview
  • Transcript

3.3 Cache-Busting

By default, browsers will cache static assets like scripts or stylesheets to improve the browsing experience. The problem with this is that when we update our code, we want browsers to download the latest version. In this lesson, we will learn how to get Webpack to manage this for us by adding cache-busting hashes to generated file names.