Page 1 of 1
Auto Forced Refresh
Posted: Sun Jul 20, 2025 10:48 am
by Praxandros
Hi everybody.
Is there an option or a code to force refresh recently uploaded pages/subpages?
Thank you all for your help.
Praxandros
Re: Auto Forced Refresh
Posted: Sun Jul 20, 2025 10:57 am
by AliGW
In Page Properties > Meta Tags, you can add this to the User Defined section:
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
This should make the page refresh each time it is loaded in the browser and for its cache to be cleared.
Re: Auto Forced Refresh
Posted: Sun Jul 20, 2025 11:04 am
by Praxandros
@AliGW
Thanks a lot for your feedback.
Appreciate.
Praxandros
Re: Auto Forced Refresh
Posted: Thu Jul 24, 2025 9:36 am
by gvr
Yeah, this happens a lot when browsers hang onto old versions. Easiest fix is to add a little version number to your page or file like mypage.html?v=5. That usually forces a reload. You can also clear your browser cache manually, but that doesn’t help for other users unless you control the caching rules on your server
Re: Auto Forced Refresh
Posted: Sun Jul 27, 2025 10:28 am
by gofrank
You can also add this to your .htaccess file on the server:
Code: Select all
<IfModule mod_headers.c>
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0
</IfModule>