0

Is there any js function that refreshes browser cache? i.e deleting a row in a table and seeing the result on the browser straight away without the need of logging off and logging in to the system to see the change?

1
  • There is a way. It's not a function. It's something else entirely. Your question is too vague. Why would you need to log off and log on? What's wrong with reloading the current URL? Commented Jun 10, 2017 at 15:29

1 Answer 1

2
location.reload(true);

Forces (in most browsers) the page to be reloaded from the server, and not loaded from a cache.

The argument given to reload specifies whether or not it should force fetching new data over loading from the cache.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.