Is there any code I can put in to clear caches?
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
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
Is there any code I can put in to clear caches?
I am a bit concerned that mobile browsers (specifically chrome on android) is picking up old versions of some of my pages. When I specifically clear the cache (which ony seems to work for the page I am browsing) and then do a refresh, the correct layout is seen.
So, does anyone know of any code (html, I assume) that will force the browser to load the page from the net and not from internal cache? I'm not saying this will be a permanent solution, but while I am testing, it's what I need.
thanks
Alan
So, does anyone know of any code (html, I assume) that will force the browser to load the page from the net and not from internal cache? I'm not saying this will be a permanent solution, but while I am testing, it's what I need.
thanks
Alan
Re: Is there any code I can put in to clear caches?
This has worked for some other users:
Code: Select all
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
Re: Is there any code I can put in to clear caches?
If I put that in the header of my master page, would that suffice?
Cheers
Alan
Cheers
Alan
Re: Is there any code I can put in to clear caches?
Yes, that should work.
Re: Is there any code I can put in to clear caches?
Thanks Pablo.
I've done it - now to see what happens going forward.
regards
Alan
I've done it - now to see what happens going forward.
regards
Alan
Re: Is there any code I can put in to clear caches?
Pablo, does this code go into -- Page properties/Meta Tags/User Defined
Cheers
Cheers
Re: Is there any code I can put in to clear caches?
CorrectPablo, does this code go into -- Page properties/Meta Tags/User Defined
Re: Is there any code I can put in to clear caches?
Thanks Pablo for link,
Test it tomorrow, only on principal page and default.asp or in all page?
Test it tomorrow, only on principal page and default.asp or in all page?
Re: Is there any code I can put in to clear caches?
All pages that you do not want to be cached by the browser.
Re: Is there any code I can put in to clear caches?
Ok so whit this "script" in all page the browser not save the cache for page and reload from website.
Thinked the script reload or update the cache.
Thinked the script reload or update the cache.

Re: Is there any code I can put in to clear caches?
I have html pages which I use for my help files. On my website I provide an external link through a menu button. Is there a way to embed the suggested code you gave for clearing a cache into that button so I know my users are getting the current html help and not the help stored in the cache?
Thanks,
Ed
Thanks,
Ed
Re: Is there any code I can put in to clear caches?
The code must be placed inside the HTML page. It cannot be added to a button.
Re: Is there any code I can put in to clear caches?
Thanks for the code Pablo!