SLV does not clear the cef_cache subfolder if cache location is changed
primerib1 Resident
To reproduce:
- Create an empty folder, let's say "C:\SLVCache"
- Open SLV, and change the Cache folder to this new, empty "C:\SLVCache" folder
- Close SLV, re-open. Note that SLV will create all subfolders and support files in "C:\SLVCache"
- Login and use awhile.
- Close SLV
- Reopen SLV => notice that "C:\SLVCache\cef_cache" maintains its content
What Should Have Happened:
Upon startup, SLV will _delete_ the "cef_cache" subfolder (and its contents) in the cache folder and recreates the subfolder, empty.
Log In
Dan Linden
Hi primerib1,
This does not reproduce for me. I tested with win10 and win11 and 7.2.3.19375695301. When I start the viewer, the cef_cache folder is deleted and recreated.
Can you see if this still reproduces? Maybe there was a second viewer running that held onto the files? If it still reproduces, please send your SecondLife.log file to bug-attachments@lindenlab.com and reference this issue name in the email subject line.
primerib1 Resident
Dan Linden Hmmm... after extensive experimentation, this is what I can conclude:
If the filesystem where the cache is located is NOT NTFS, then SLV will NOT delete the
cef_cache
folder.To reproduce:
- Create a new drive with, say exFATfilesystem
- Create an empty folder in that drive. Any level will do (e.g., directly under the root directory, say "D:\SLVCache", or deeper like "D:\SLV\Cache"
- Open SLV, then without logging in, move the cache to that directory
- Close and reopen SLV. Wait until SLV reinitialize the cache
- Login and open some people's profiles
- Logout/Quit
- Reopen SLV
- Notice that the "cef_cache" directory is NOT cleaned up.
If in Step #1, the filesystem is NTFS, then SLV apparently _will_ cleanup cef_cache.
Is this behavior expected?
For this experiment, I used a RAM disk, which is actually my setup. This enables quick reformatting of the whole drive as exFAT or NTFS.
primerib1 Resident
I need to add that my experiments are limited only to NTFS-vs-exFAT.
NTFS => cleanup happens
exFAT => cleanup does not happen
I haven't tried any other filesystems.