When we store our custom .NET browser, we clear all the cache.
Quote: Dim tmpFolder As String = ""
Try
tmpFolder = IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "temp")
Dim CacheFolder() As String = IO.Directory.GetDirectories(tmpFolder, "eo.webbrowser.cache.*")
For xLoop As Integer = 0 To CacheFolder.Length - 1
DeleteIfExists(CacheFolder(xLoop), True)
Next
EO.WebEngine.Engine.CleanUpCacheFolders(EO.WebEngine.CacheFolderCleanUpPolicy.AllVersions)
Catch ex As Exception
LogIt.Log("Error clearing Cache" & NewLine &
"tmpFolder = " & tmpFolder & NewLine &
ex.ToString & NewLine
)
LogIt.Log(ex.ToString)
End Try
That worked well for many years since most vendors' tech support have you clear it first. :-)
Now we want to show an Outlook email. Outlook will cache something(s) so you don't have to log in every time. That is, unless you clear the cache every time. :-)
So is there a way to clear all the cache except for URL/site Outlook?
I don't have too high hopes, but I had to ask.