[Opensim-dev] Question about the asset cache

Justin Clark-Casey jjustincc at googlemail.com
Mon Mar 18 22:34:51 UTC 2013


On 18/03/13 08:46, Jeff Kelley wrote:
> What is the flow of assets between the database and the asset cache?
>
> -The assets are pulled from the database then written to cache?
> or
> - The assets are written to cache then flushed to the database?
>
>
> In the first case, it seems safe to delete the asset cache once the simulator stopped (no asset can be missing from the
> database).

The first case is what happens - any assets uploaded to the simulator are immediately sent to the asset service.

So it's always safe to delete any cached assets - if the simulator needs a particular asset subsequently it will simply 
request them again from the asset service.

Since I don't believe there was one already, I wrote up a quick wiki page on this at [1], though the meat is simply a 
restatement of the above.

[1] http://opensimulator.org/wiki/AssetCache

-- 
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc



More information about the Opensim-dev mailing list