 
     #if os(macOS)
     private func decompressImage(_ response: ImageResponse, isCompleted: Bool) {
-        pipeline.cache.storeCachedImage(response.container, for: request)
+        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 {
-            pipeline.cache.storeCachedImage(response.container, for: request)
+            storeImageInCaches(response)
             send(value: response, isCompleted: isCompleted)
             return
         }

    #endif

    // MARK: Caching

    private func storeImageInDataCache(_ response: ImageResponse) {
        guard !response.container.isPreview else {

            }

            self.async {
                self.storeImageInCaches(response)
                self.send(value: response, isCompleted: isCompleted)
            }
        }
