public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> cacheDecoder(
            ResourceDecoder<File, ResourceType> cacheDecoder) {
        // loadProvider will be null if model is null, in which case we're not going to load anything so it's ok to
        // ignore the decoder.
        if (loadProvider != null) {
            loadProvider.setCacheDecoder(cacheDecoder);
        }

        return this;
    }
Sets the {@link ResourceDecoder} to use to load the resource from the disk cache. By
default, this decoder will only be used if the final transformed resource is already in the disk cache.

@see #decoder(ResourceDecoder)
@see DiskCacheStrategy

@param cacheDecoder The decoder to use.
@return This request builder.
core/src/main/java/com/bumptech/glide/GenericRequestBuilder.java