how to empty cache and hard reload using JavaScript After Remove location.reload(true)

Viewed 38

I want to reload a page using JavaScript but I want to clear cache too, so on page refresh the page has latest versions of everything from server.

2 Answers

Try this location.reload(true);. This should reload your page from server.

location.reload(true) this will reload your site

Related