Welcome Guest Search | Active Topics | Sign In | Register

Cache and cookies management while using EO WebBrowser Options
Kunal Singh Chauhan
Posted: Friday, March 24, 2023 2:55:05 AM
Rank: Newbie
Groups: Member

Joined: 12/29/2021
Posts: 8
Hi Team,

Can you please share with us the best way to clear cache and cookies for EO WebBrowser? Here we are talking about the most optimal way for Cache and cookies management.
eo_support
Posted: Friday, March 24, 2023 10:06:08 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

The recommended way is to call this on your application start:

Code: C#
EO.WebEngine.Engine.CleanUpCacheFolders(WebEngine.CacheFolderCleanUpPolicy.OlderVersionOnly);


This would clean cache folder from older versions but would not touch cache folder from current version thus keeping the cache currently being used in place.

Thanks!
Kunal Singh Chauhan
Posted: Tuesday, March 28, 2023 2:36:13 AM
Rank: Newbie
Groups: Member

Joined: 12/29/2021
Posts: 8
Thanks for the reply. We will integrate this code into our product.

For our customers who are already using the application is there any way to clear cache unprogrammatically? Similar to the way we do in chrome browser OR by deleting any known cache/cookie folders. Also, we don't want to clear the cache only for the Old Version but also for the current version.
eo_support
Posted: Tuesday, March 28, 2023 6:11:54 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
You just have to write the code to call the above methods to do it. There is no built-in UI for it.


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.