[sldev] 1.21 change makes SL work better for enterprises

Dale Mahalko dmahalko at gmail.com
Thu Apr 16 14:29:01 PDT 2009


I see a change is being made to how the client stores cache data.

The cache was previously going into
\Documents and Settings\Username\Application Data\SecondLife\cache

Which was bad for corporations and schools like me that use roaming
profiles, since this would mean the SL cache is roaming with the user
on the network, being stored on the servers. This reduces both network
performance and server backup storage, and was a strike against using
Second Life in a business environment.


With 1.21 the cache is now being put into:
\Documents and Settings\Username\Local Settings\Application
Data\SecondLife\cache

This is a far better way to do it. Local Settings does not roam with
the user, and can stay on the computer until the user logs in again,
and their account picks up the previously cached data.


In my case the local account data gets deleted when roaming users log
off (volitale profile) to keep lab computers from running out of disk
space due to storing so much old unused profile data from many
different users.

It would be nice if there could be a centralized "cross-user local
workstation cache" for networks using roaming. This would allow a
single large cache on the local lab computer that isn't deleted when
people log off and can be reused by different roaming students for
class lab sessions going to the same parts of the world.

A possible shared-cache location might be:
\Documents and Settings\All Users\Application Data\SecondLife\cache

Though I believe special write privileges are needed for programs to
write data into All Users. Students login using the restricted Users
group so they don't have write access to anywhere they want, but
programs storing data in All Users have proper write privileges even
if the logged-in user does not.

- Dale Mahalko / Scalar Tardis


==============================
Reference:

http://svn.secondlife.com/trac/linden/browser/trunk/indra/newview/llappviewer.cpp

2626 #if LL_WINDOWS || LL_DARWIN
2627         // NOTE: (Nyx) as of 1.21, cache for mac is moving to
/library/caches/SecondLife from
2628         // /library/application support/SecondLife/cache This
should clear/delete the old dir.
2629
2630         // As of 1.23 the Windows cache moved from
2631         //   C:\Documents and Settings\James\Application
Support\SecondLife\cache
2632         // to
2633         //   C:\Documents and Settings\James\Local
Settings\Application Support\SecondLife
2634         //
2635         // The Windows Vista equivalent is from
2636         //   C:\Users\James\AppData\Roaming\SecondLife\cache
2637         // to
2638         //   C:\Users\James\AppData\Local\SecondLife
2639         //
2640         // Note the absence of \cache on the second path.  James.
2641
2642         // Only do this once per fresh install of this version.
2643         if (gSavedSettings.getBOOL("MigrateCacheDirectory"))


More information about the SLDev mailing list