I am working on a web application developed using reactjs and webpack. After every deployment, we have to ask users to clear the browser cache and restart their browsers. I
You can use html-webpack-plugin
plugins: [ new HtmlWebpackPlugin({ hash: true }) ]
hash: true | false if true then append a unique webpack compilation hash to all included scripts and css files. This is useful for cache busting.