Problems uploading/editing JS files

Yeah hello again.
So this problem i noticed yesterday uploading edited JS file , but in website it was the old version of file, through the source code it wasn’t updating so i thought it would be temporary problem , but no. Today i have tried everything . Deleting JS folder , deleting files etc . I also noticed that 2 files dont update . for example i uploaded ads.js and it worked , when i upload script.js , functions.js they are not updating . Is it hosting problem or what?

Perhaps clearing your cache solves it? If you’re using Cloudflare then also clear its cache.

1 Like

I’m refreshing site with ctrl+f5 (hard refresh) but it doesn’t help, but i haven’t tried clearing Cloudflare’s cache . I have activated cloudflare in infinityfree’s control panel how can i clear cache then?

Cloudflare caches to make your site faster. You could opt for no cache though.

You can clear your Cloudflare cache through Cloudflare’s website. When you enabled Cloudflare for the first time, you should have received a welcome email from Cloudflare. If you do a password reset on Cloudflare’s website with the email address that email was sent to, you should be able to login and manage some parts of your website.

From there, you can also change the cache levels (including disabling it entirely), or enable development mode to temporarily disable cache.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.