Cache issue - Latest version not visible until hard-refresh

  • 20 September 2019
  • 1 reply
  • 45 views

Hello,

Question:
Is there any way to force the browser fetch the latest version on every load / refresh?
Any script / any setting?

Background:
We were showing the Sticky Bar for 7 days with different content everyday - however there were users, especially on Google Chrome, who were not getting the latest version until they hard refresh their browser page.
I could explain this to local users, but there was no way I can explain to the end customers.
I believe there must be some customers who were still getting the old versions on their browsers.


1 reply

Hi, there seem to be Meta params which tell the browser how to handle your page.

You can add them to the head section by using the JavaScript manager:

<meta http-equiv=“Pragma” content=”no-cache”>
<meta http-equiv=“Expires” content=”-1″>
<meta http-equiv=“CACHE-CONTROL” content=”NO-CACHE”>

Source:

As written in the article, this has an impact on second visits (making them slower that with cache).

Let us know if it has worked…

BR

Reply