Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do force reload for the first time after the web app is deployed?

I'm using React and Redux in my web app. I'm deploying frequently to production. So after deployment for the latest changes, we have to do

empty cache and hard reload

in browser. Is there any other way to clear client side cache?

like image 691
Amala James Avatar asked Sep 22 '17 11:09

Amala James


1 Answers

Its better to using hash file name to busting client cache. webpack configuration: https://webpack.js.org/guides/caching/

like image 149
vr34t Avatar answered Oct 27 '22 01:10

vr34t