[EMAIL PROTECTED] wrote:
> Is there a way to tell the viewer that it needs to delete its cache?
> Thanks for any insight.
> Cheers, Scott

I see that there is a checksum command for objects(prims), but
it appears that LL client clears the object cache at startup.

The cache should have a "cache version number" so that if
the data format changes, the application can delete it.
-
note cards, textures, animations and sounds are all static and get
a new UUID if changed. The cache should delete the oldest based on
the "last time used" when trimming it's size.

--
Objects should be cached based on a flag system since the client
only gets updates when you are around.
  The "in world" objects should be sorted by which 32m box it is in
and then when entering a box all the objects should be flagged.
If the sim does not update the object within 1 minute or so, remove
it from the object cache.

  There is a way to have the cache check the sim for the existence
of a object by using the packet to request the CRC, but due to possible
updates during the process, it is simpler to get the objects as it
streams and remove ghosts by removing objects if you get the same UUID
elsewhere in the sim or if not seen after x seconds.

-- 
Bill, Grumble
_______________________________________________
Libsecondlife-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/libsecondlife-dev

Reply via email to