By default, Medis try to pick the best encoder and viewer based on the key content. However, the detection can be failed in some cases. Also, due to performance reasons, the auto-detection doesn't take custom encoders into consideration. Because these reasons, Medis provides content rules to configure encoders/viewers explicitly based on key names or types.