Clear Cache test
Jump to navigation
Jump to search
ClearCacheTest
Length: 00:15
Goal: This script will test the Clear Cache button in the preferences
Requirements: 1 account
Created 07-12-05, James Linden
Full Test:
- Run Second Life normally, login, wander around in two regions.
- Quit Second Life
- Open the cache directory, now in Documents and Settings/<user>/Application Data/SecondLife/cache
- You should see at least two .inv files (inventory cache for my inventory and library), at least two .slc files (object caches, one per region), one name.cache file, one data.db2.x.### file, and one index.db2.x.### file.
- Leave the explorer window open
- Launch Second Life again, but don't log in
- From the login screen, open Preferences -> Advanced
- Click "Clear Cache"
- You should see a dialog saying "Cache will be cleared after you restart Second Life"
- Quit Second Life
- Launch Second Life again, don't log in
- Look in the cache directory. All files should be gone, except for data.db2.x.### and index.db2.x.### and 2 folders. The files should have modification dates close to the current time (they should have been created on viewer startup). The objectcache folder should be ~3KB and the texturecache folder should be about 8 bytes.
- Log in.
- You should see slow texture loads, as all textures should have to re-download.
- You should see your inventory download (incrementing count at top of inventory window).
Quick Test:
- After using SL for other QA tasks, open Preferences -> Advanced
- Click Clear Cache
- Click OK
- Quit SL
- Restart SL
- Texture loads should be slow - not cached
- Inventory should re-download