Hashing with Webpack for long term caching

Kent C. Dodds
InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Leveraging the browser cache is an important part of page load performance. A great way to utilize this cache is by versioning your resources. In this lesson, learn how to use Webpack’s hashing feature so you can take advantage of long term caching of your assets.

Nathan
Nathan
~ 5 years ago

How do you configure this with hot reloading?

Kent C. Dodds
Kent C. Doddsinstructor
~ 5 years ago

The repo actually has hot module replacement enabled for development already.

Jernej S
Jernej S
~ 5 years ago

i want to use html-webpack-plugin with extract-text-webpack-plugin because I want to extract css, written in scss, to file but getting the following error (gist) - without latter plugin webpack isn't throwing any errors. What am I doing wrong?

Kent C. Dodds
Kent C. Doddsinstructor
~ 5 years ago

Hmmm, I'm not sure. Maybe you could ask on Stack Overflow.

Mike
Mike
~ 4 years ago

Awesome lesson. I really liked the example.