2009-06-14 21:37:50 +00:00
|
|
|
[AssetCache]
|
|
|
|
;;
|
|
|
|
;; Options for FlotsamAssetCache
|
|
|
|
;;
|
2010-10-04 21:10:07 +00:00
|
|
|
|
2009-06-14 21:37:50 +00:00
|
|
|
; cache directory can be shared by multiple instances
|
|
|
|
CacheDirectory = ./assetcache
|
|
|
|
; Other examples:
|
|
|
|
;CacheDirectory = /directory/writable/by/OpenSim/instance
|
|
|
|
|
|
|
|
; Log level
|
|
|
|
; 0 - (Error) Errors only
|
|
|
|
; 1 - (Info) Hit Rate Stats + Level 0
|
|
|
|
; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1
|
|
|
|
;
|
|
|
|
LogLevel = 0
|
|
|
|
|
|
|
|
; How often should hit rates be displayed (given in AssetRequests)
|
|
|
|
; 0 to disable
|
|
|
|
HitRateDisplay = 100
|
|
|
|
|
|
|
|
; Set to false for disk cache only.
|
|
|
|
MemoryCacheEnabled = false
|
|
|
|
|
|
|
|
; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
|
2009-08-27 20:43:24 +00:00
|
|
|
; Optimization: for VPS or limited memory system installs set Timeout to .016 (1 minute)
|
|
|
|
; increases performance without large memory impact
|
2009-06-14 21:37:50 +00:00
|
|
|
MemoryCacheTimeout = 2
|
|
|
|
|
|
|
|
; How long {in hours} to keep assets cached on disk, .5 == 30 minutes
|
|
|
|
; Specify 0 if you do not want your disk cache to expire
|
2011-06-10 23:04:21 +00:00
|
|
|
FileCacheTimeout = 48
|
2009-06-14 21:37:50 +00:00
|
|
|
|
|
|
|
; How often {in hours} should the disk be checked for expired filed
|
|
|
|
; Specify 0 to disable expiration checking
|
|
|
|
FileCleanupTimer = .166 ;roughly every 10 minutes
|
2010-10-04 21:10:07 +00:00
|
|
|
|
|
|
|
; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
|
|
|
|
; long (in miliseconds) to block a request thread while trying to complete
|
2009-06-14 21:37:50 +00:00
|
|
|
; an existing write to disk.
|
|
|
|
; WaitOnInprogressTimeout = 3000
|
2009-07-29 17:21:36 +00:00
|
|
|
|
|
|
|
; Number of tiers to use for cache directories (current valid
|
|
|
|
; range 1 to 3)
|
|
|
|
;CacheDirectoryTiers = 1
|
|
|
|
|
|
|
|
; Number of letters per path tier, 1 will create 16 directories
|
|
|
|
; per tier, 2 - 256, 3 - 4096 and 4 - 65K
|
|
|
|
;CacheDirectoryTierLength = 3
|
|
|
|
|
|
|
|
; Warning level for cache directory size
|
|
|
|
;CacheWarnAt = 30000
|
2010-10-04 21:10:07 +00:00
|
|
|
|
|
|
|
; Perform a deep scan of all assets within all regions, looking for all assets
|
|
|
|
; present or referenced. Mark all assets found that are already present in the
|
|
|
|
; cache, and request all assets that are found that are not already cached (this
|
|
|
|
; will cause those assets to be cached)
|
|
|
|
;
|
|
|
|
; DeepScanBeforePurge = false
|