Jump to content
CoeurdeLeon

TEdgeBrowser how to clear the cache

Recommended Posts

Can anyone tell me how to clear the TEdgeBrowser cache?  

 

I set EdgeBrowser.UserDataFolder :='C:\Temp\CPRSBrowserCache\';

 

The folder is created and never used, i.e., always empty.

 

Cached data is being displayed rather than new data.

 

If I open up the Edge browser and clear the cache then correct data is displayed in my TEdgeBrowser instance.

 

Why is EdgeBrowser.UserDataFolder not being populated?

 

How can I empty the cache?

 

Dick Maley

Share this post


Link to post

I use TEdgeBrowser and it creates a sub-folder in the folder where my executable is outputted to.

It is called <name of executable>.exe.WebView2

Many folders in it seem to be related to "Cache"

Do you have such a folder?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×