Why does Android clear cache always exist 12k?

Source: Internet
Author: User

Reprint Please specify source: http://blog.csdn.net/droyon/article/details/41116529

Android phones after 4.2, clearing the cache will always remain 12k in size. It is estimated that obsessive-compulsive patients are going to freak out when they use this function. Under this preliminary answer:

1. Does the cache file exist in that directory?

Apps under Android generate cached files, and the cache files will be in the corresponding caches directory for each app. Take the settings as an example:

The package name is set to: Com.android.settings. Therefore, the cache file directory is:

/data/data/com.android.settings/cache
This means that the cache files that the app should be set to exist in this directory.

2. Why does the purge cache function in the settings remain 12k?

Clearing the cache clears all files in the cache directory (the Ignore file does not count against all), but does not clear the cache folder.

In fact, this 12k is the size of the cache folder label information. Everything in the Linux system is a file, which means that the folder is also the file concept. is a file, some property information related to the file is stored.

Why does Android clear cache always exist 12k?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.