2

Every app has data and cache.

In Android, what is the difference between the two?

4

App developers decide what information to be kept in "data" and what to be kept in "cache".

Usually, "data" is used for account info, settings, saved activity data, game scores, and whatever is need to be kept permanently. Clearing data will make your app "forget" everything like you have reinstalled it.

"Cache" holds all information and files that can be retrieved somehow (from the internet, or other way). For example social apps can cache all your feed data (photos, comments, and so on). Clearing cache may lead your app to reload all the lost (and necessary) data from it's original source. It shouldn't make your app behave bad.

6

In general:

  • Cache is temporary files. One example might be thumbnails for contacts in a social media app. These can be cleared without any major effect — the app can just download them again when it needs to — and if space is low the Android OS may remove cache files itself.

  • Data is the "important" information. This might include credentials and settings that you generally want the app to remember.

0

Cache are temporary(unnecessary) files.... You must clear them more often otherwise it may affect ur device performance... Where as data are files required by ur application.... It saves users activity and progress

  • otherwise it may affect [yo]ur device performance -- How exactly? – Firelord May 10 '15 at 18:26
  • 1
    When cache memory increases.... Phne becimes slow and laggy..... It happens with phones having low internal memory..... – Anko May 11 '15 at 2:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.