1.缓存 == 文件== 物理保护
2.缓存就是应用程序临时保护数据的一些文件的统称,比如SharedPreferences,SQLite,webview等的临时文件都可以统称为缓存
Android应用程序的安装目录
/data/data/包名
安装目录的增删改查只能被自己货兄弟程序试用,其他程序无权访问
缓存清理实际上更多的实在删除data/data/下所有应用目录中的cache文件夹,核心技术就是I/O操作
1.检测垃圾
2.清理
3.再检测垃圾