function NoCache() {
if (window.location.href.indexOf("wp-admin") === -1) {
if( window.localStorage ){
if(!localStorage.getItem('firstReLoad')){
localStorage['firstReLoad'] = true;
window.location.href = (window.location.href.split('?')[0]) + '?' + Math.floor(Math.random() * 1000);
} else {
localStorage.removeItem('firstReLoad');
}
}
}
}
if (!(window.location !== window.parent.location)) {
NoCache();
}