Clearing the cache

From Second Life Wiki
Jump to navigation Jump to search


Second Life uses a cache, which is space on your hard drive used for quicker retrieval of inworld content after it's downloaded. Examples of cached data includes object info, textures, and Inventory item names. Similar in concept to a web browser's cache, clearing the Second Life cache is a "refresh" which can help with various problems. While not a cure-all, it is a highly-recommended first step.

A common problem in Second Life is perceived inventory loss, which is a good term for when you search your inventory for something you recall being there recently, but it doesn't show up. When you experience high packet loss "lag", the cache can be corrupted, meaning that when Second Life goes to look something up that actually is on our servers, it doesn't find it locally on your computer's cached inventory.

Clearing the Cache from Inside Second Life

Two area are impacked by the cache, travel and inventory. Numerous inventory problems are associated with the cache and travel can be slowed by it.

Once the cache becomes full it begins a process of swapping, switching out new textures for old one's this process slows rezzing time upon arrival at a SIM after teleporting. Clearing the cache can temporarily improve cache performance and rezzing speed.

Cloud Avatars is an indication that the cache is having problems swapping texture files or other inventory problems due to a too full cache. missing and corrupt texture files and items can also at times be repaired after a cache refresh,

Note that initial searching is slower as your inventory is re-cached, reloaded and subsequent searches are faster. Before and after keep a close eye on the number of items in "Inventory". If this is not available click the "recent items tab to view it there.

On a reliable broadband connection, you shouldn't have to clear your cache very often, but the option's always available to you!

Performance improvement

Moving the cache to a second hard drive (if available) can slightly increase textures loading during travel as it creates an array of drives that can be used by dual processors to load SIM textures.

For those with available RAM on their PC. RAMDisk [1] can be used. Perhaps only advanced used should attempt this method of improving cache performance due to advanced installation and drive configuration concerns.

Clearing the Cache from Outside Second Life

If you're sure of what you're doing, you can also clear your cache manually. With Second Life closed, go to the appropriate pathway and delete all the files inside the "cache" folder. Get more help on where to find these.

  • Windows XP - C:\Documents and Settings\<username>\Application Data\SecondLife\cache
    • Alternatively, use environment variable %APPDATA% to shorten this path to: %APPDATA%/SecondLife/cache
  • Windows Vista - C:\Users\<username>\AppData\Roaming\SecondLife\cache
  • Windows Vista Home Premium - C:\Users\<username>\AppData\Roaming\SecondLife\browser_profile\cache
  • Windows 7 - C:\Users\<username>\AppData\Roaming\SecondLife\browser_profile\Cache
  • Windows 7 - C:\Users\<username>\AppData\Local\SecondLife\ (Viewer version 1.23.5 (136262))
  • Mac - /Users/<username>/Library/Caches/SecondLife
  • Linux - ~/.secondlife/cache