Create mechanism for clearing caches remotely
The only way to currently clear or manage caches is to restart the server and dump all of the caches. We should create a special endpoint that allows us to manage the cache. We will want some way of guarding this that is at least somewhat robust.
Requirements:
- A way of clearing all caches easily
- UI for managing caches by levels w/ the ability to drill down
- There would be 3 levels to the cache, Type > ID > parameters. Each level is more granular and should have the ability to at least clear the value from the cache.
- an additional functionality for refreshing a singular cache item could also be useful in some cases but isn't a strict requirement
- Each cache item at the most granular level should have the ability to request the cached item as JSON