Share this page 

Force a reloadTag(s): Varia


An easy way to force a reload (without using the browser cache) is to add a dummy parameter to URL request.
dummyDate = new Date() ; 
dummyParameter = "?" + dummyDate.getTime()
self.location.href = "myPage.html" + "?" + dummyParameter

The dummyParameter must be different for each request.

This tip is ok for static html or jsp/asp page.

See also this HowTo