Running CEF offline

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Running CEF offline

Postby bdenuit » Fri Dec 09, 2016 2:29 pm

Hi, I am working on a (J)CEF app for my company. Every so often, the app closes the current browser, and recreates a new one to load a new version of our web site.
Recently, I tried using service workers to make the web app available offline too, and I got it to work fine in Chrome.

However, when I create a new browser in CEF and try to load the app while being offline, I am getting a load error: ERR_INTERNET_DISCONNECTED.
The service worker has all the assets cached, but somehow the new browser does not use the service worker.

I am setting the cache_path to the same path every time. Does CEF share the service worker across browsers?

Thanks,
Bruno.
bdenuit
Newbie
 
Posts: 4
Joined: Sun Aug 07, 2016 2:20 pm

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 27 guests