Clear Cache Automatically.

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Webloco
 
 
Posts: 23
Joined: Sun Feb 23, 2020 6:23 pm

Clear Cache Automatically.

Post 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
User avatar
BaconFries
 
 
Posts: 6253
Joined: Thu Aug 16, 2007 7:32 pm

Re: Clear Cache Automatically.

Post 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]
Webloco
 
 
Posts: 23
Joined: Sun Feb 23, 2020 6:23 pm

Re: Clear Cache Automatically.

Post by Webloco »

Thank you.
Post Reply