When manually updating an entity (for example an Order) in the database by using the "litium-cloud app action --action execute-database-script" feature, one also needs to purge the cache afterwards or else the change won't be reflected in the application. Currently, this can be done in one of two ways:
Change the Redis prefix, which purges the entire cache. This seems a bit excessive if I only want to purge a specific cache item, or
Publish a RemoveFromCache event for the item in question. This needs to be done via code, which means we have to build some kind of custom backoffice panel or similar which allows us to do this. Not ideal either.
It would therefore be nice if the Cloud CLI could add support for removing Redis cache items, for example in the same manner as "execute-database-script", i.e.
litium-cloud app action --action remove-from-cache --app <APP-ID> --property "systemId=<GUID>"
(And yes, I'm aware that Litium 8.19 will add cache purge functionality to the Admin Web API. I still think that this would be a good fit for the Cloud CLI, though, as Redis a part of the Cloud Infrastructure).