すべてのアプリはデータと cache を持っています。
Androidでは、2つの違いは何ですか?
すべてのアプリはデータと cache を持っています。
Androidでは、2つの違いは何ですか?
Every app has data and cache.
In Android, what is the difference between the two?
App開発者は、「データ」に保存する情報と「キャッシュ」に保存するものを決定します。
通常、「データ」は、アカウント情報、設定、保存されたアクティビティデータ、ゲームスコア、および恒久的に保存する必要があるものに使用されます。データをクリアすると、あなたのアプリがあなたがそれを再インストールしたようなすべてのもの "忘れさせるでしょう。
「キャッシュ」は、どういうわけか(インターネット、またはその他の方法から)取得できるすべての情報とファイルを保持します。例えば、ソーシャルアプリはすべてのフィードデータ(写真、コメントなど)をキャッシュできます。キャッシュをクリアすると、そのオリジナルのソースから失われた(および必要な)データをすべて再ロードするためにアプリがリードされる可能性があります。あなたのアプリは悪い動作をするようにするべきではありません。
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.
一般的に:
キャッシュは一時ファイルです。一例は、ソーシャルメディアアプリでの連絡先のサムネイルである可能性があります。これらは大きな効果なしでクリアすることができます - アプリはそれが必要なときにそれらを再びダウンロードすることができ、スペースが低い場合はAndroid OSがキャッシュファイル自体を削除することができます。
データは「重要」な情報です。これには、アプリに覚えておくべき認証情報と設定が含まれます。
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 xe2x80x94 the app can just download them again when it needs to xe2x80x94 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.
cache は一時的な(不要)ファイルですが、 data はアプリケーションに必要なファイルです。ユーザーの活動と進行状況
を保存しますキャッシュをより頻繁に消去することを検討してください。それ以外の場合は、デバイスのパフォーマンスに影響を与える可能性があります。キャッシュメモリが増加すると、電話が遅くなり、遅れが発生します。それは内部メモリが低い電話で起こります。
Cache are temporary (unnecessary) files, whereas data are files required by the application. It saves users activity and progress
Consider clearing the cache more often, otherwise it may affect the device performance. When cache memory increases, phone becomes slow and laggy. It happens with phones having low internal memory.
© 2022 cndgn.com All Rights Reserved. Q&Aハウス 全著作権所有