diff --git a/Sources/Nuke/Tasks/TaskLoadImage.swift b/Sources/Nuke/Tasks/TaskLoadImage.swift index 2f4b6b7e..a143b8ad 100644 --- a/Sources/Nuke/Tasks/TaskLoadImage.swift +++ b/Sources/Nuke/Tasks/TaskLoadImage.swift @@ -174,8 +174,7 @@ final class TaskLoadImage: AsyncPipelineTask, @unchecked Sendable private func shouldStoreResponseInDataCache(_ response: ImageResponse) -> Bool { guard !response.container.isPreview, - !(response.cacheType == .disk), - !(request.url?.isLocalResource ?? false) else { + !(response.cacheType == .disk) else { return false } let isProcessed = !request.processors.isEmpty || request.thumbnail != nil