weiran / Hackers

Hackers is an elegant iOS app for reading Hacker News written in Swift.
http://weiran.co/hackers
MIT License
692 stars 109 forks source link

Space Usage #254

Closed ballwood closed 1 year ago

ballwood commented 1 year ago

@weiran Just had a look at my iPhone and seems the hackers app is taking up 1GB of space? Seems awfully high…Is it caching to disk or something and not being cleared?

If you have any idea point me to the code and I’ll do a PR to fix it, cheers!

ballwood commented 1 year ago

Closing as didn’t see the other issue! Will have a look at the icons.

weiran commented 1 year ago

Yep same issue as #219, but I'm no longer sure the cause is the image caching.

If you have time I'd appreciate if you could export the app container from your phone in Xcode, and see where the disk usage is coming from? Nuke image cache should be in Library/Caches/com.weiranzhang.Hackers/com.github.kean.Nuke.Cache

I recently upgraded my phone so my only has 20MB in it.