DEV Community

Sadman Samee
Sadman Samee

Posted on • Edited on

3 1

A Caching Library, written in Swift that can cache Anything.

Needed a cache Library that has

  • [x] Asynchronous data downloading and caching.
  • [x] Asynchronous image downloading, caching and showing.
  • [x] Expiry date/time for all the objects individually.
  • [x] Multiple-layer hybrid cache for both memory and disk.
  • [x] Fine control on cache behavior. Customizable expiration date and size limit.
  • [x] Force refresh if needed.
  • [x] Independent components. Use the Cachy or CachyLoader system separately as you need.
  • [x] Can save JSON, UIImage, ZIP or anything.
  • [x] View extensions for UIImageView.
  • [x] Indicator while loading images.

Couldn't find any all in one solution, either it's too much or too less, so came up with this.

https://github.com/Sadmansamee/CachyKit

it's the first version there might be a lot of issues or bad, please point them out and how I can improve them.

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Sentry mobile image

Improving mobile performance, from slow screens to app start time

Based on our experience working with thousands of mobile developer teams, we developed a mobile monitoring maturity curve.

Read more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay