|
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.
|
|
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!
|
|
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.
|
|
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.
|
|