             }
 
             self.async {
-                self.pipeline.cache.storeCachedImage(response.container, for: self.request)
+                self.storeImageInCaches(response)
                 self.send(value: response, isCompleted: isCompleted)
             }
         }

    }

    private func didProduceProcessedImage(_ response: ImageResponse, isCompleted: Bool) {
        storeImageInDataCache(response)
        decompressImage(response, isCompleted: isCompleted)
    }



    #if os(macOS)
    private func decompressImage(_ response: ImageResponse, isCompleted: Bool) {
        storeImageInCaches(response)
        send(value: response, isCompleted: isCompleted) // There is no decompression on macOS
    }
    #else
    private func decompressImage(_ response: ImageResponse, isCompleted: Bool) {
        guard isDecompressionNeeded(for: response) else {
            storeImageInCaches(response)
            send(value: response, isCompleted: isCompleted)
            return
        }
