Order the steps
Order an image request through a loader.
- Store in caches and deliver if the request is still active
- Decode off the main thread at the target size
- Download, joining any identical in-flight request
- Check the memory cache by key
- Check the disk cache
Choose an answer, then open Show answer below to check it.
Show answer
Answer: D E C B A
- Check the memory cache by key Fastest; no decode needed.
- Check the disk cache Avoids the network.
- Download, joining any identical in-flight request No duplicate downloads.
- Decode off the main thread at the target size Saves memory and time.
- Store in caches and deliver if the request is still active Skip if cancelled.