The cache_prefix seems to be hard coded to media/cache. The configuration is not applied correctly, but the value in the configuration must not be empty and php bin/console debug:config liip_imagine also shows the correct configuration.
Tested in Symfony 7.1, is there a bugfix?