How does the webplayer caching work?

This question consists of two parts:


  1. How does the regular (browser) caching work for webplayers?

  2. How and for what files does the new unity-supported webplayer caching work? (This was added in 2.6, clients can change their settings here: http://cdn2.unity3d.com/setup/)

  1. This is really up to the browser developer. Browsers may choose to cache data locally in whatever scheme the browser developers come up with. Typically browsers will not cache as large data amounts as the unity supported caching, and will readily overwrite the data when it hasn't been accessed recently.

  2. Unity built-in caching will cache assetBundles, so really any data used by Unity content can be packed into asset bundles and cached to the disk. Which files are to be cached can be controlled by content developers, up to a per-content limit of allocated disk space.

Jonas,

Can the Unity built-in caching also cache a streaming web player's data stream containing all the levels, or is it restricted to caching asset bundles?