Skip to content

redundant url requests #3571

@Mervin1024

Description

@Mervin1024

New Issue Checklist

Issue Info

Info Value
Platform Name ios
Platform Version 10.0
SDWebImage Version 5.17.0
Integration Method cocoapods
Xcode Version Xcode 14.3
Repro rate all the time (100%)
Repro with our demo prj Requires specific trigger timing
Demo project link https://github.com/Mervin1024/SDWebImageDemo

Issue Description and Steps

If the second image is loaded during the decoding process after the first image has been downloaded, a second request will be opened for the same. It's an unnecessary waste.

I've simulated this in my demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions