Haneke / HanekeSwift

A lightweight generic cache for iOS written in Swift with extra love for images.
Apache License 2.0
5.2k stars 591 forks source link

Cache Limit? #405

Open ThoseGuysInTown opened 7 years ago

ThoseGuysInTown commented 7 years ago

I'm using Haneke to retrieve and cache images in my app and the problem I'm having is that after a while the size of the app increases dramatically. After a month or so the app, which is downloaded at <100mb from the app store, reaches up to nearly 5 gb (of Documents & Data)!!

Do I have to manually clear the Haneke Cache? I'm using imageView.hnk_setImageFromURL()

I think it might also be Firebase but I only use firebase to reference the images, and display other (text based) data. My images are also quite large right now, most are ~1mb, which is why I think it's Haneke.