You can watch this episode by subscribing to Cocoacasts Plus.

Image Caching in Swift

Asynchronously Reading Data from Disk

Image Caching in Swift
1 Cancelling Image Requests 10:19
2 Caching Images in Memory Plus 09:44
3 Caching Images on Disk Plus 09:27
4 Asynchronously Reading Data from Disk Plus 10:41
5 Limiting the Cache on Disk Plus 12:41
6 Image Caching with Kingfisher 10:48
Download Your Free Copy of
The Missing Manual
for Swift Development

The Guide I Wish I Had When I Started Out

Join 20,000+ Developers Learning About Swift Development

Download Your Free Copy

The previous episodes have illustrated that caching images can result in significant performance improvements. In the previous episode, I stressed the importance of writing cached images to disk on a background thread to prevent the image service from blocking the main thread.

Instant and Unlimited Access
to 400+ Cocoacasts Tutorials

Monthly

$19 / month

Pay Once a Month
30 Day Money Back Guarantee

Yearly

$8.25 / month (billed annually)

Pay Once a Year and Save $129
30 Day Money Back Guarantee
Access to All Books

Next Episode "Limiting the Cache on Disk"