Skip to content

[feature request] Add a clear_caxhe() function #1752

@forceflow1049

Description

@forceflow1049

It would be useful to have a function such as webview.clear_cache() to flush the cache dynamically. Currently, you can use private mode, but that clears both cache and cookies, and only on exit.

Example of how private mode isn't sufficient: I am creating an app that requires authentication with a remote server and then downloads some media assets. The user can choose to open multiple windows (say, a media display window and a configuration window). In private mode, opening each window requires the user to re-authenticate, since cookies aren't shared between windows in private mode. However, the media files sometimes change, requiring the cache to be cleared so that the new image (with same filename) can be shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions