flexdinesh / react-redux-boilerplate

A minimal React-Redux boilerplate with all the best practices
MIT License
782 stars 274 forks source link

Need to do hard refresh on new updates. #39

Closed RobertStuff closed 5 years ago

RobertStuff commented 5 years ago

Hi good day.. I would like to ask if you have a solution to not do hard refresh when I update. Right now I need to do ctrl + f5 to see the changes...

schmanat commented 5 years ago

Really? I have tested it. If I change something (for example) in the component app/components/Header/Header.jsfor example it update the browser instantly.

RobertStuff commented 5 years ago

In production?

schmanat commented 5 years ago

I have tested it only in develpment. Its necesarry to refresh autom. in production?

RobertStuff commented 5 years ago

Yup when you do update production you need to do ctrl + shift + f5 for the the frontend update to show.

flexdinesh commented 5 years ago

This is more like a deployment issue. Make sure you don't cache the index.html file. As new builds are hashed, you'll almost never run into cache issues unless you cache your index.html file.

RobertStuff commented 5 years ago

Yup thanks...