[enhancement]: support clearing query and http cache (#475)

* [enhancement]: support clearing query and http cache

  - Adds the ability to invalidate all queries (useful for forcing refresh, and clearing lyrics which are cached forever)
  - [Desktop only] adds the ability to clear the Electron HTTP cache (e.g. cached images)

* use clearer language

* move cache settings to general
This commit is contained in:
Kendall Garner 2024-01-31 06:27:56 +00:00 committed by GitHub
parent 04a468f8c9
commit 9995b2e774
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 119 additions and 2 deletions

View file

@ -9,11 +9,12 @@ import { Utils } from '/@/main/preload/utils';
import { LocalSettings } from '/@/main/preload/local-settings';
import { Ipc } from '/@/main/preload/ipc';
import { DiscordRpc } from '/@/main/preload/discord-rpc';
import { Browser } from '/@/main/preload/browser';
declare global {
interface Window {
electron: {
browser: any;
browser: Browser;
discordRpc: DiscordRpc;
ipc?: Ipc;
ipcRenderer: {