Eel icon indicating copy to clipboard operation
Eel copied to clipboard

Deleting Cache & Auto-Complete

Open blessedcoolant opened this issue 4 years ago • 3 comments

So I noticed that the cache of the application and auto-complete suggestions for input fields persist across sessions and applications. I am guessing this is because it uses on the on system chrome engine.

I was wondering if there was a way to isolate this to the sessions of Eel that I have going on. And if there is a way to fully disable caching here without affecting the main chrome browser on the system?

I'm guessing it might be one of the Chrome flags but I am not sure which one. Any help would be appreciated. Thank you.

blessedcoolant avatar Aug 09 '21 02:08 blessedcoolant

--disk-cache-dir=/dev/null (should work in windows too even thought it doesn't exist) You can add autocomplete="off" to the form tag to disable autocomplete.

mosindy avatar Aug 19 '21 22:08 mosindy

--disk-cache-dir=/dev/null (should work in windows too even thought it doesn't exist) You can add autocomplete="off" to the form tag to disable autocomplete.

Thank you. I'll try that. Also is there a way to actually delete the cache? Or even better, load a custom build of the chromedriver from a local folder instead of using the installed version.

blessedcoolant avatar Aug 22 '21 02:08 blessedcoolant

If it was using the user's Chrome cache, just use Chrome to delete it. There's currently no way to utilize an embedded Chrome version, that would be pretty large for a distributable package.

MicahStevens avatar Aug 22 '21 03:08 MicahStevens