Questions tagged [cache]

A cache can be defined as a component that transparently stores data so that future requests for that data can be served faster (no necessity to load from somewhere).

A cache can be defined as a component that transparently stores data so that future requests for that data can be served faster (no necessity to load from somewhere). If requested data is contained in the cache (cache hit), this request can be served by simply reading the cache, which is comparatively faster. Otherwise (cache miss), the data has to be recomputed or fetched from its original storage location, which is comparatively slower.

With Android, this term most times refers to the cache created and used by apps – which, when corrupted, might be the cause of "strange behavior" such as "unfortunately X has stopped" (see: ). In such cases it often helps to simply "clear" (empty) the cache of the app-in-question, which can be done in different ways:

189 questions
31
votes
2 answers

What is the /cache partition?

What purpose does the /cache partition in Android serve? Are there any cases where clearing the /cache partition could result in lost data?
SAGExSDX
  • 1,406
  • 3
  • 15
  • 21
28
votes
2 answers

What is Dalvik cache?

When installing custom ROMs most recommend clearing the Dalvik cache. What exactly is Dalvik cache?
GollyJer
  • 1,193
  • 3
  • 12
  • 26
21
votes
3 answers

Clear Caches from ADB?

How do I clear caches (app, individual apps, Dalvik, ART if possible) via ADB? Using apps, recovery, or doing it through Settings are not options for me. Also, my phone is not rooted.
LakeHMM
  • 360
  • 2
  • 4
  • 10
18
votes
3 answers

How can I make Google Maps cache the map for my entire city?

The Google Maps app for android caches the map tiles of areas you visit. Also, the GM Brut mod allows you to cache map tiles to the SD card. I'm on a very limited data plan, so I'd like to have my entire city cached to my phone memory/SDcard. So…
Malabarba
  • 2,603
  • 5
  • 28
  • 32
16
votes
7 answers

Where can I find the OTA update file?

I'm trying to locate the zip file that contains the OTA update for my Droid Bionic. Right now, its failing to update, and every time it fails it deletes the file and I need to re-download it (takes a long time). I was hoping to save off the update…
SwDevMan81
  • 363
  • 1
  • 3
  • 13
16
votes
5 answers

Clear cache for specific site on Chrome for Android?

How do you clear the cache for a specific site on Chrome for Android? I've already tried going to the site's settings and pressing the "Clear & Reset" button, but the site's cache still hasn't been cleared (the JavaScript file that's loaded is still…
user894196
  • 161
  • 1
  • 1
  • 3
11
votes
2 answers

Is there a way to cache YouTube videos after playing them?

I have an HTC Desire, and the default YouTube app does not cache the video after it plays the first time. The second time you play, it downloads the same video a second time, but I would like to cache the video on the memory card. Is there any way…
Narek
  • 319
  • 1
  • 3
  • 11
10
votes
3 answers

Moving cache to SD Card? Is it possible?

Is it possible to move app cache which is stored o Internal Storage on android to sd card? I have limited space on my device, and I want to free up some space (Well, actually the cache is taking most of my internal space) by moving my application…
user46097
  • 101
  • 1
  • 1
  • 4
10
votes
3 answers

How can I make an Android app "forget" that it installed on my phone before?

Some apps, like Facebook, LinkedIn, Tinder, etc., seem to have a mechanism to remember which Android phone installed their app. So if a user is banned on these apps, the next time somebody creates an account on the same Android phone, that account…
Lun
  • 209
  • 1
  • 2
  • 3
9
votes
1 answer

DNS queries are cached permanently, how to reliably clear DNS cache on Android 7+?

Is there a reliable, reproducible way to clear DNS cache on Android Nougat 7.0? I know there is at least one other question like this but that one was from 8 years ago and I hope I can ask again and see what people are doing these days. To explain a…
FlexMcMurphy
  • 337
  • 2
  • 4
  • 8
9
votes
3 answers

What is the difference between application cache and data?

Every app has data and cache. In Android, what is the difference between the two?
Amazon Dies In Darkness
  • 4,864
  • 25
  • 66
  • 108
8
votes
2 answers

Nexus 7 Error: Failed to mount /cache

I had a problem with my Nexus 7 (2013, 2nd gen) tablet. I restarted my tablet and when it was rebooting again, it showed "Google" logo and then stood there. I wait it (around 20 minutes) but it did not do anything else. Trying factory reset...…
Israel
  • 201
  • 1
  • 3
  • 9
8
votes
1 answer

Is there a way to list the local dns cache?

I would like to get a list of my current cache on my phone, what is the command to issue in order to retrieve that list ? I would like to get a command and not an app that does that, since i want to incorporate that command into a script that i am…
Hanan
  • 131
  • 1
  • 1
  • 5
8
votes
1 answer

Are offline google maps used device wide?

If you save an area on google maps on an android device, will other apps that use the maps api, pull data from this cache if it's available? Or is it separated and doesn't know that it exists? I ask this question because of a reddit post that popped…
Cruncher
  • 183
  • 5
7
votes
5 answers

How to clear all applications data in android?

Hi I want to clear all applications data(preferences and sqlite) from my phone in one tap. How can i do this? is there any app which can do this WITHOUT ROOT PERMISSION?
john smith
  • 183
  • 5
1
2 3
12 13