• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by Leepo · Dec 24, 2009 at 01:41 PM · webplayercache

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/)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by jonas-echterhoff · Dec 24, 2009 at 03:23 PM

  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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Leepo · Feb 05, 2010 at 02:03 PM 1
Share

I've found an answer to 2: You need to buy a special license to make use of that new cache, which uses the cache setup page. The price of this license is "much higher" than a Unity Pro license, and therefore not something indie developers would need to consider.

avatar image
0

Answer by Rockhound · Jan 28, 2010 at 07:40 PM

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?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jonas-echterhoff ♦♦ · Feb 05, 2010 at 02:51 PM 0
Share

it will only cache asset bundles - but nothing is stopping you from storing all your levels in asset bundles.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

How would you tell if the webplayer got loaded from web or cache? 0 Answers

Why aren't .unity3d files being cached when viewed in the webplayer? 0 Answers

Updating txt from an url (webplayer) 0 Answers

Unauthorized use of Caching API in webplayer 0 Answers

Web player cache 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges