coure2011 coure2011 - 1 year ago 260
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download