Welcome Guest, Not a member yet? Register   Sign In
Cache continues to show until hard refresh
#2

(This post was last modified: 09-10-2016, 11:41 AM by PaulD. Edit Reason: simple typo )

This may be because browsers cache pages themselves. So a user that visits a page can sometimes be seeing what their browser has cached previously, not what is actually being delivered. This most often manifests itself for me when I change an image but not it's name and get customers emailing saying 'but the image hasn't changed', 'Try pressing refresh', 'Oh there it is' type conversations. Different browsers cache content in different ways, but it is all intended to speed up browsing for the user.

You could put a version into the url, which actually does nothing to the page but the browser will think it is a different page being requested, but that is a pain and probably overkill.

The other way is with headers described well here:
http://stackoverflow.com/questions/49547...l-browsers

Again, I am not sure this is the best approach for your users, as this will slow down their browsing especially with back buttons and other normal user behavior. It all depends on your aims I suppose.

Paul.
Reply


Messages In This Thread
RE: Cache continues to show until hard refresh - by PaulD - 09-10-2016, 11:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB