I've written a function that will reload the page without post submission and it will work with hashes, too.
I do this by adding / modifying a GET parameter in the URL called reload
by updating its value with the current timestamp in ms.
var reload = function () {
var regex = new RegExp("([?;&])reload[^&;]*[;&]?");
var query = window.location.href.split('#')[0].replace(regex, "$1").replace(/&$/, '');
window.location.href =
(window.location.href.indexOf('?') < 0 ? "?" : query + (query.slice(-1) != "?" ? "&" : ""))
+ "reload=" + new Date().getTime() + window.location.hash;
};
Keep in mind, if you want to trigger this function in a href attribute, implement it this way: href="javascript:reload();void 0;"
to make it work, successfully.
The downside of my solution is it will change the URL, so this "reload" is not a real reload, instead it's a load with a different query. Still, it could fit your needs like it does for me.