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
Re: Auto updating web pages cache.
Posted: Fri Aug 07, 2026 9:34 am
by desegno
Or via the use of .htacess (server)
# DISABLE CACHING
excuse me, where is this?
Re: Auto updating web pages cache.
Posted: Fri Aug 07, 2026 10:24 am
by BaconFries
excuse me, where is this?
What do you mean "where is this?". It is not part of the software if that is what your asking. It is a server file which is
generally found in
document root directory public_html, www, or htdocs of your website. To use you should contact your host for help.
It is basically just a text(.txt) file with the code shown inserted renamed to .htaccess and then saved you will get a warning do you wish to save without the extension (.txt) just say yes you then upload to the above mentioned. Note as it is a server file all help should be made to them really.