coure2011 coure2011 - 10 months ago 142
Javascript Question

window.location.reload with clear cache

I want to reload a page using javascript but want clearing cache too, so on page refresh the page has every latest from server.
Other browser except IE are not getting latest content.

Any solution for IE9?


reload() is supposed to accept an argument which tells it to do a hard reload, ie, ignoring the cache:


I can't vouch for its reliability, you may want to investigate this further.