People who have already been to my site don't see new changes

I’m a newbie, but I have searched the forums for this issue and came up empty. After I make changes to my website, when I try to go back to view the site what I get is the old version, with no changes unless I delete all history from my browser. Since I cannot reasonably contact all people who have already viewed the site and ask them to delete their history, what is the solution?
Thanks in advance for any help.

It’s probably a cache issue.

What kind of changes? CSS?

It happens due to cache. If you are using WordPress then you can deactivate cache plugin and check again if working or not.

Doing a hard refresh is usually all that’s required.

How often are you making changes?

Try adding a parameter to the CSS file which will prevent the file from being cached. After a couple of days/weeks remove the parameter and the file will once again be cached/

<link href="" media="all" rel="stylesheet" />

// not-cached=today-2016-01-06 is the parameter

But won’t that just prevent the new one from being cached, rather than force the browser to download the new version, rather than serve the existing cached copy?

Good question.

Will a browser see the fragment as indicating a new file or only use the file name and use the cached version?

jQuery uses versions in the name so file names are different.

<script src="//"></script>
<script src="//"></script>

But other CDNs use folder names

<script src=""></script> 
<script src=""></script>

Minor changes in both HTML and CSS. Things like changing the address of the business, the picture of the front of the business, etc.

Not using Wordpress.

This is only the second time I have changed the site in about a year.

Thanks, I will try that.

I’m afraid your reply is way over my head. I used a jquery call to run a slideshow on the home page, but didn’t really learn jquery, I just copied an example I found on the internet.

It wasn’t meant to be about jQuery, only to serve as an example of the different ways used to deal with browser caching.
i.e. using different folder names, using different file names.

AFAIK using different fragments should work too, but I’m not 100% sure.

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