how to clear browser cache in reactjs
For this specific case what you can do is to tell the browser not to cache your page, by using below meta tags inside <head> tag: This is temporary solution and for permanent solution, you should handle this using appropriate headers sent by your API/backend. <meta http-equiv=’cache-control’ content=”no-cache”> <meta http-equiv=’expires’ content=”0″> <meta http-equiv=’pragma’ content=”no-cache”> To … Read more