JakeWharton / DiskLruCache

Java implementation of a Disk-based LRU cache which specifically targets Android compatibility.
http://jakewharton.github.io/DiskLruCache
Apache License 2.0
5.79k stars 1.18k forks source link

Cache is getting cleared after force stopping the app ? #47

Closed vikky49 closed 10 years ago

vikky49 commented 11 years ago

the disklru cache is getting cleared after force stopping the app ? Is this how it works in general .? Or Is it some thing that my code is causing the issue ..

So i am building the cache ..and one of the test case is to force stop the android app .and the time i come back all the cache is deleted ..

Any ideas ?

JakeWharton commented 11 years ago

What version are you using? Old versions didn't always flush their changes to disk.