Saving changes made on files on site, but it doesnt change immediatley?

Is this normal? I’ve tried to update the site, but its not saving the changes i’ve made. URL: Im trying to change a JS file called hoverlinks.

Hello there,

Try clearing your browser cache everytime after you made changes to your site to make sure that your browser will not use the old cache of what your site looks like before.


I’ve tried but it still isn’t changing. Anything else that could help?

If you could provide more details what things are not changing then I can check your site at my end and can have comparisons to what it looks like on my end vs your end.

You may also try flushing your local DNS cache or use a public DNS resolver instead like from Cloudflare because your ISP’s DNS might still have an old cache of your site.

I have two computers, I can do it on my own thanks for trying to help, will try to use your advice.

Well then since you can do a comparison yourself then on your other computer try to use a VPN or those 2 other methods I provided to you above while you just leave your other computer as it is and see if your site has any differences.

It changed up, thanks for your advice. I guess I needed to delete the cache again.

1 Like

@UnknownLolz one more thing, if I were to update the site but I still have my cache and it doesnt change for me, would it still update for others?

It actually depends. Even when I always make changes to my site, my site would usually update the content without trying to manually clear the browser cache.

You can also use your .htaccess file for Cache-Control.
Insert this and configure it the way how you like it:

ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"</code>

If you’re using WordPress, you can download and activate a plugin that specializes with Cache-Control/mod_expires but WordPress already sets this stuff as far as what I’m aware.

1 Like

Ok will try to use the code. Thanks a lot :slight_smile:

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