C
C
caspersmart2016-09-25 20:25:50
caching
caspersmart, 2016-09-25 20:25:50

How to refresh the page not from the cache but from the server (in all browsers) via javascript?

After refreshing the site, I show users a message asking them to refresh the page to update the javascript. For this I used location.reload(true); but it doesn't work on all browsers.
What can I use to refresh the page not from the cache but from the server?
I'm not satisfied with the tags that prohibit caching the page, I just want to reload the page once from the server and not from the cache.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question