HI!
Is it possible to create such a regime?
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Incognito mode
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Incognito mode
Yes. You only need to leave GlobalCEFApp.cache blank like this and it will use in memory cache :
At this moment there's a known bug in the CEF3 binaries in "incognito mode". Some directories are created in that mode :
https://bitbucket.org/chromiumembedded/ ... nent-cache
If you use the "incognito mode" for too long in your application you will see that it uses a lot of RAM.
Code: Select all
GlobalCEFApp.cache := '';
https://bitbucket.org/chromiumembedded/ ... nent-cache
If you use the "incognito mode" for too long in your application you will see that it uses a lot of RAM.
Re: Incognito mode
Incognito mode
TempContext := TCefRequestContextRef.New('', 'en', False, False, False, False);
Normal mode
TempContext := TCefRequestContextRef.New('patch_my_cache', 'en', False, False, False, False);
Am I right? So simply...
TempContext := TCefRequestContextRef.New('', 'en', False, False, False, False);
Normal mode
TempContext := TCefRequestContextRef.New('patch_my_cache', 'en', False, False, False, False);
Am I right? So simply...

- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Incognito mode
Yes, that's correct.
Re: Incognito mode
And what is cef_sandbox.lib and how can I use it?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Incognito mode
If you want to have a sandboxed browser you would have to link that file into your application's EXE.
It's not easy to link "lib" files into Delphi apps and you would probably have to release your application under an open source license to avoid legal problems.
For more information about sandboxed browsers read this :
https://chromium.googlesource.com/chrom ... sandbox.md
For more information about other files in the CEF3 binaries read the README.txt file included in the package.
It's not easy to link "lib" files into Delphi apps and you would probably have to release your application under an open source license to avoid legal problems.
For more information about sandboxed browsers read this :
https://chromium.googlesource.com/chrom ... sandbox.md
For more information about other files in the CEF3 binaries read the README.txt file included in the package.