User Inventory Architecture
From OpenSimulator
Introduction
This is a general holding page for the user inventory mechanisms used in OpenSimulator, including the library. As such, it will point mainly to other pages.
Unfortunately, as with many pages on this wiki, this is heavily under construction. If there's something specific that you want to know, please ask on the Mailing Lists so that we know what to prioritize when filling in this page.
When a viewer requests an inventory item, in a conventional setup, the simulator will fetch that data from the inventory service before returning it to the viewer. Inventory data is not cached on the simulator.
When delivering inventory via the HTTP capability (see OpenSimulatorToViewerInventoryProtocol for more details), it is possible to make a different URL available rather than going directly through the simulator. One does this by replacing the Cap_FetchInventoryDescendents2 and Cap_FetchInventory2 parameters in the [ClientStack.LindenCaps] entries in OpenSim.ini. However, this is experimental - one should be making each capability URL given to a viewer unique (e.g. by emebedding a random URL) so that only the correct user can fetch their inventory data.
References
- OpenSimulatorToViewerInventoryProtocol - Information on the protocols used to perform inventory operations between viewer and OpenSimulator.
- Inventory Archives - Information on OpenSmiulator's inventory archiving format.
- Inventoryfolders - Inventory folders database details.
- Inventoryitems - Inventory item database details.