Welcome Guest Search | Active Topics | Sign In | Register

Clear Cached browser page Options
Axcelis
Posted: Tuesday, March 24, 2015 11:40:49 AM
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?
eo_support
Posted: Tuesday, March 24, 2015 4:39:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
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!
Abin
Posted: Thursday, September 8, 2016 2:51:15 PM
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 ?
eo_support
Posted: Monday, September 12, 2016 8:30:38 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
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.aspx

Once 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.aspx

Note that this will destroy all WebViews associated to that engine. We do not support deleting cache without destroying WebView yet.

Thanks!



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.