Feature #101509
openHotkey to clear caches
0%
Description
Based on Feature #101507: Provide API for keyboard shortcuts I'd like to have / add shortcuts for clearing the cache.
I propose:
- ALT + C for cacheCmd=pages
- ALT + X for cacheCmd=all
Those keys are more or less arbitrary and follow loosely what Shopware 6 uses for keybindings in their Administration.
I'm open to other proposals, as my initial suggestions, I picked what I'm already familiar with.
I'd like to work on that and provide a corresponding patch for this.
Updated by Andreas Kienast over 1 year ago
In general I like the proposal, but I'm not sure about the keys. An extension may extend this with additional items and then won't get hotkeys by default. Since the "Clear Cache" menu is already usable via keyboard, it would be fine for me to use Alt+C (or alike) to open the menu only.
Then, the currently existing limitations are in effect which would make it mandatory to register the same hotkey multiple times - in the scaffold and in the iframe.
Updated by Johannes Przymusinski [jop-software.de] over 1 year ago
Sounds like a good idea to "just" open the menu here to be more flexible.
I'll implement it with ALT+C for now, when there are any other (maybe better) suggestions, please let me know.
Updated by Riccardo De Contardi 6 months ago
- Category set to Backend User Interface