Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code attempts to load same image multiple times when same image occurs more than once in a view #16

Open
StephenClarkApps opened this issue Mar 8, 2022 · 1 comment

Comments

@StephenClarkApps
Copy link

It seems the intention of code like

guard !isLoading else { return }

but it also seems that there can be multiple instances and no tracking of a current loading state against an URL inside a single cache instance

is to prevent image loading twice or whatever, however, if we have a view that uses the same image several times, opening Charles shows the images is attempting to be loaded more than once.

@easydev991
Copy link

I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants