Skip to content

Unable to clear cache #66

Closed
Closed
@yoDon

Description

@yoDon

I'm unable to find the Electron.NET version of the clearCache method that should be exposed on the session object, in large part because I'm not able to find an Electron.NET implementation of the session object. My guess is this is mostly a "we need more hands manually exposing Electron methods in Electron.NET" sort of issue which I'm happy to help with but I'm not sure what to do about starting to stub in the missing session object.

For context, see
https://stackoverflow.com/questions/31446782/how-to-clear-the-cache-data-in-electronatom-shell
and
https://github.com/electron/electron/blob/70643a865be97a76b4604619921f5e4d047e41b5/docs/api/session.md

It looks to me like the clearCache method is added to the Javascript by way of the C++ WebFrame::BuildPrototype method in https://github.com/electron/electron/blob/c18afc924b7218555e529c0583773f58e1015cbe/atom/renderer/api/atom_api_web_frame.cc

For now, I'm manually clearing the on disk cache, which I found via https://stackoverflow.com/a/44675132/2827071

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions