Take this code snippet for example:
window.location.href = \'mysite.htm#images\';
Already being on the site mysite.htm and tri
mysite.htm
use the query part of the URL to add a random string:
// Use a timestamp to make sure the page is always reloaded window.location.href = 'mysite.htm?r='+(+new Date())+'#images';