enormego / EGOCache

Fast Caching for Objective-C (iPhone & Mac Compatible)
MIT License
1.33k stars 290 forks source link

Memory cache versus disk cache #15

Open manoelfranklin opened 12 years ago

manoelfranklin commented 12 years ago

Is it possible to cache it in memmory also? I know that EGOCache will cache in disk, but Im using a uitableview and I would like to cache also in memory, to make scrolling the uitableview smooth. Any ideas? Suggestions?

georgepiva commented 12 years ago

Same issue here. @manoelfranklin Did you find a solution? I would appreciate for any hints. Thanks.

manoelfranklin commented 12 years ago

No, @georgepiva I gave up on this and I'm using another solution for download and cache images, SD Image or something like this, cant remember the exact name of it! Vc é brasileiro??? Abs

ghost commented 12 years ago

Hi,

https://github.com/nicklockwood/AsyncImageView is another good solution with caching capabilities.

Julien.

Le 28 août 2012 à 02:44, Manoel Costa notifications@github.com a écrit :

No, @georgepiva I gave up on this and I'm using another solution for download and cache images, SD Image or something like this, cant remember the exact name of it! Vc é brasileiro??? Abs

— Reply to this email directly or view it on GitHub.

georgepiva commented 12 years ago

Thanks @manoelfranklin and @julienlavergne by your answers! Actually I am using the SDWebImage classes for downloading and caching images.

As the scope of my current application requires being frequently downloading other users profiles from a remote server I thought about using the EGOCache to cache those downloaded information avoiding unnecessary round-trips to the server. But I ended up using the RestKit cache policies to handle this situation.

The next link helped me with its short explanation about "Caching in iOS": http://lifeasyoucodeit.wordpress.com/2012/06/20/caching-in-ios/

And yes Manoel, I am Brazilian. Just another startup enthusiastic & iOS developer. I hope this post can help others. Thanks by your attention.