Reputation: 157
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?
Upvotes: 0
Views: 189
Reputation: 45826
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.
Upvotes: 2