|
Rank: Newbie Groups: Member
Joined: 3/24/2015 Posts: 1
|
Sometimes, EO.Borwser control shows empty page (with valid HTML markup) when the web server is not running. This happens only when an already visited URL is accessed again. How do I clear browser cache (cached pages) programmatically in this case and force the browser control to try fetch the page from web server?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
In the current version the only way to clear cache is to delete EO.WebBrowser.Runtime.CachePath directory. You will need to close all WebView instances in order to do so. In the future we will add some interface for you to clear cache programmatically without having to shutdown all WebViews.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/17/2016 Posts: 0
|
Quick question: Do we have clear cache option from code for the newer version of EO Broweser ?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Abin wrote:Quick question: Do we have clear cache option from code for the newer version of EO Broweser ? Hi, The only way for you to clear the cache is to stop the engine. See here for more details: http://www.essentialobjects.com/doc/webbrowser/advanced/engine.aspxOnce you use an additional engine, you can call its Stop method to stop it. Pass true to delete the cache: http://www.essentialobjects.com/doc/eo.webengine.engine.stop.aspxNote that this will destroy all WebViews associated to that engine. We do not support deleting cache without destroying WebView yet. Thanks!
|
|