enormego / EGOCache

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

Clear the cache does not work #34

Open envil opened 11 years ago

envil commented 11 years ago

It's seem that [[EGOCache globalCache] clearCache] doesn't work at all. The cache is still there. The images are loaded using the cache, not downloading again after this method is called. Please consider this.

Update: I changed all the currentCache method in the lib to globalCache then it works, but not perfectly. It doesn't work at all in iOS 6.1 but sometimes work in iOS5.1. For details, the first time the clear cache button is pressed, it works. But then it sometimes just doesn't work, or some images are still cached, while some others are cleared.