How does www.LoadfromCacheorDownload function work?

I have used this function a lot on my application. It works perfectly for downloading my assetbundles. What I am not able to understand is does this function actually download contents to the cache memory or app memory. Because when i go to setting and see my app I noticed that the App Data gets bigger while the cache is still in KB. I just want to know whether my understanding about this function is wrong or that is how it is meant to work

The “app” and “cache” memory when you are talking about the device is different from when you are using LoadfromCacheorDownload.

“Cache” memory on your device typically refers to the amount of main memory your app is current using.

“app” memory refers to the amount of persistent data (hard drive memory) your app uses.

In software development the term caching simply refers to storing a local copy so you don’t continuously have to retrieve the same data from the original source.

LoadfromCacheorDownload works by storing a local copy of the AssetBundle on your device (This is persistent, so it will count towards the “app” memory) and subsequent calls for the same AssetBundle will load the AssetBundle stored on the device over re-downloading from the server.