Page 1 of 1
Auto updating web pages cache.
Posted: Thu Jun 12, 2025 11:47 am
by gregbarnes
I constantly have to change page content on my site but most browsers don't auto update the web pages cache if the content changes. Is there a way to automatically update users browser cache to show the latest content?
Thanks in advance,
Greg
Re: Auto updating web pages cache.
Posted: Thu Jun 12, 2025 12:17 pm
by BaconFries
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
Re: Auto updating web pages cache.
Posted: Fri Jun 13, 2025 12:22 am
by gregbarnes
Thanks so much - I will give all of that a try.
Cheers, Greg