How to force the page to reload the latest content?

There are cases where the website receives constant updates, but you want to update the pages automatically instead of the user refreshing their tabs manually. Here’s how to do it:

First, open Site Setting on the top left of the website builder.

Then click on Custom Code.

Then paste the code below on the blank field.

<script>
setTimeout("RefreshPage()",100)
function RefreshPage(){       
   if(!window.location.hash){       
      window.location = window.location + '#loaded';       
      window.location.reload();   
  }   
 }
</script>

Then hit save.

Proceed to Publish and refresh it for yourself to see the changes take effect.

Scroll to Top

Custom solutions for your entire sales team

Let us show you how our accurate B2B company and contact data can help you reach the right decision makers and close more deals.

What can you expect?