- May 4, 2014
- 37
- 0
- 0
I'm new to the android game, and I've been seeing people talk about clearing the cache. What exactly is it, and what are the benefits?
I'm new to the android game, and I've been seeing people talk about clearing the cache. What exactly is it, and what are the benefits?
Best answer I have seen is this:
It slows your system and applications down. The whole purpose of cache is to improve performance by reducing the frequency of redundant data movement and processing.
Android recovers cache only on an as needed basis, and so more often permits intended performance gains to be realized. When you manually delete cache, this somewhat arbitrary activity does little more than slow your apps and device down, which is opposite of what many users expect it to do. Clearing cache is equivalent to filling your swimming pool every time before you jump in, and then immediately draining it every time you get out. All of that effort used filling and draining the pool wastes valuable time and energy that could instead be used for swimming. When you clear cache, the CPU, network, etc. has to do all of that work over again, merely wasting energy to accomplish the same end result. Android and applications typically know better than users when cached data becomes stale or dirty, and unless there is some defect in the software, cache does not typically require any manual action.
Performance analysis for just about any computer system should start with an assessment of CPU usage, not memory usage. You typically only move onto memory if you determine that CPU resources are not an application bottleneck, and that there is some other resource impairing performance. You should always check CPU usage first though.