cache-path not setting / not working

Having problems with building or using the JCEF Java binding? Ask your questions here.

cache-path not setting / not working

Postby mikeyd » Mon Feb 01, 2016 1:51 pm

Hello. Thanks for this project first off.

I have successfully compiled JCEF for 32-bit Linux and 64-bit Windows. Both projects despite my settings of cache-path on command line and using CefSettings do not set the cache path (chrome://version Cache shows blank) and cache indeed is not written. I've messed with it all ways I can think of short of debugging the C code and this issue is a deal for what I'm trying to do. Can anyone help? Thanks! :!:
mikeyd
Newbie
 
Posts: 2
Joined: Mon Feb 01, 2016 1:46 pm

Re: cache-path not setting / not working

Postby magreenblatt » Mon Feb 01, 2016 2:13 pm

JCEF does not support setting cache-path via the command-line. How/where are you setting the value via CefSettings?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: cache-path not setting / not working

Postby mikeyd » Mon Feb 01, 2016 2:31 pm

Of course after a week of messing with it.. I discovered the problem minutes after posting. There may still technically be an issue however. The sample overrides getCookieManager and when you do that (creating your own with a path for cookies), it would seem that the cache_path you set in settings is ignored. Once I remove that override, cache path is populated and works.
mikeyd
Newbie
 
Posts: 2
Joined: Mon Feb 01, 2016 1:46 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 56 guests