How refresh website?

Hi guys, is there any way to refresh the site? I added new html and js to the site and removed the old one.

If you upload new code to your website, it is applied instantly. There is no “refresh” button on our hosting you need to click to apply the changes.

Note that our servers do enforce quite strong browser cache by default, which is why new changes may not immediately be visible to everyone. To bypass that, you can either clear your browser’s cache, or check the page in Incognito Mode, which also bypasses all caches.

8 Likes

Hi! Welcome back to the forum! There are many ways that you can do for this problem. But before that, check whether the culprit lies on the browser or not.

  1. Clear your browser’s cache.
  2. Browse your website in a private (incognito) browser window.
  3. Append random query in your website’s URL such as ?v=1234567890 (from @lovebug).
  4. Disable the network cache option in the browser’s network tab from the browser’s developer tool.

If neither of these solutions work, then it means that the browser is not the culprit. Check your network. Some network administrators use caching proxy server such as Squid Proxy to save up bandwidth which is a problem for any developer like you who wants to see any recent changes on the website. Use another device or network to see whether the culprit is in the network or not.

Do you use Cloudflare? You can enable development mode in the Cloudflare’s panel when you’re working with your site. Depending on your Cloudflare’s configuration, you can also change the rules so that a specific page can be ruled out from the Cloudflare’s cache.

6 Likes