Welcome Guest Search | Active Topics | Sign In | Register

Clear cache except for one website Options
penright
Posted: Wednesday, April 9, 2025 10:12:15 AM

Rank: Advanced Member
Groups: Member

Joined: 10/30/2017
Posts: 45
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.
eo_support
Posted: Wednesday, April 9, 2025 10:15:21 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,338
Unfortunately no. :( Sorry to disappoint.
penright
Posted: Wednesday, April 9, 2025 11:57:35 AM

Rank: Advanced Member
Groups: Member

Joined: 10/30/2017
Posts: 45
As usual, I was trying to make it hard. Talking with a couple of guys, one of them flipped it on its head. Just use a different cache path for the special URL. :-)
Sorry for wasting your time. :-)
eo_support
Posted: Thursday, April 10, 2025 10:09:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,338
No problem. Thanks for understanding. :)


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.