Allow user to configure custom cache transcoder.

Very basic change, I'm not sure if you wanted this to do more?