Page 1 of 1

Clear Cache Automatically.

Posted: Sun Feb 01, 2026 5:35 pm
by Webloco
Hi,
I have to upload new content to my website every day, but it displays a mess of new and old content combined, or it mostly keeps showing the old content, and it doesn't matter how many times I refresh. Another thing is that nobody will be refreshing a website to see if there's new content. Does anybody have a script or something I can use to clear the browser cache and force it to upload the new content? Any help will be appreciated.
Thanks

Re: Clear Cache Automatically.

Posted: Sun Feb 01, 2026 5:50 pm
by BaconFries
You can enable cache busting in Tools -> Options -> HTML
or use one of the following
BaconFries wrote: Wed Feb 05, 2025 11:34 pm You can add the following code using Page Properties and inserting into Meta Tags>Meta Tags>User Define

Code: Select all

<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
Or via the use of .htacess (server)
# DISABLE CACHING

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>
You can also enable cache busting (Available since WBB16)
viewtopic.php?p=447106#p447106
[/quote]

Re: Clear Cache Automatically.

Posted: Sun Feb 01, 2026 7:01 pm
by Webloco
Thank you.