How to Force a page refresh...
Posted: Sun Feb 27, 2022 8:43 pm
I have a page that gets changed a lot. Images get switched out left and right.
How can I force a page refresh from the website side, not user side.
I think I see how but not sure:
Go into page meg tags.
User defined.
add
<meta http-equiv="Cache-control" content="no-cache">
Is this enough to force the browser to see the latest and not use the cache image or pdf?
or does it need the following as well:
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
Cheers,
Lasa
How can I force a page refresh from the website side, not user side.
I think I see how but not sure:
Go into page meg tags.
User defined.
add
<meta http-equiv="Cache-control" content="no-cache">
Is this enough to force the browser to see the latest and not use the cache image or pdf?
or does it need the following as well:
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
Cheers,
Lasa