Welcome Guest Search | Active Topics | Sign In | Register

cachepath problem at latest version 2015.3.78 Options
lsl
Posted: Thursday, January 14, 2016 12:48:20 AM
Rank: Member
Groups: Member

Joined: 1/14/2016
Posts: 28
EO.WebEngine.EngineOptions.Default.CachePath
EO.WebBrowser.Runtime.CachePath
EO.WebEngine.Engine.Default.Options.CachePath

hello i want to know the difference between above cachepath?
in my test only "EO.WebEngine.Engine.Default.Options.CachePath" effective to me
but the cachepath is base on "C:\Users\Administrator\AppData\Local\Temp" if i set cachepath = "aa"
the Absolute path is "C:\Users\Administrator\AppData\Local\Temp\aa" , so i need set cachepath = Application.StartupPath + "\\aa";

i try other browser like cefsharp ... both of them base path is Application.StartupPath ,so you can think a little
besh wish!
eo_support
Posted: Thursday, January 14, 2016 9:19:48 AM
Rank: Administration
Groups: Administration

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

EO.WebEngine.EngineOptions.Default.CachePath and EO.WebBrowser.Runtime.CachePath are the same. The second is just a shortcut for the first.

EO.WebEngine.EngineOptions.Default.CachePath applies to all engines created after you setting this property. EO.WebEngine.Engine.Default.Options.CachePath only applies to the "default" engine. Like EngineOptions.Default.CachePath, it only used when the engine is created. This means if the default engine has already started, setting Engine.Default.Options.CachePath would have no effect.

Currently the cache path is always rooted in the temp directory. If you want to have an absolute path, you can just set CachePath to an absolute path.

Thanks!


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.