diff options
Diffstat (limited to 'bin/config-include')
-rw-r--r-- | bin/config-include/FlotsamCache.ini.example | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/bin/config-include/FlotsamCache.ini.example b/bin/config-include/FlotsamCache.ini.example index db8d4db..6666812 100644 --- a/bin/config-include/FlotsamCache.ini.example +++ b/bin/config-include/FlotsamCache.ini.example | |||
@@ -20,15 +20,20 @@ | |||
20 | HitRateDisplay = 100 | 20 | HitRateDisplay = 100 |
21 | 21 | ||
22 | ; Set to false for no memory cache | 22 | ; Set to false for no memory cache |
23 | MemoryCacheEnabled = false | 23 | ; assets can be requested several times in short periods |
24 | ; so even a small memory cache is usefull | ||
25 | MemoryCacheEnabled = true | ||
24 | 26 | ||
25 | ; Set to false for no file cache | 27 | ; Set to false for no file cache |
26 | FileCacheEnabled = true | 28 | FileCacheEnabled = true |
27 | 29 | ||
28 | ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes | 30 | ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes |
29 | ; Optimization: for VPS or limited memory system installs set Timeout to .016 (1 minute) | 31 | ; even a few minutes may mean many assets loaded to memory, if not all. |
30 | ; increases performance without large memory impact | 32 | ; this is good if memory is not a problem. |
31 | MemoryCacheTimeout = 2 | 33 | ; if memory is a problem then a few seconds may actually save same. |
34 | ; reducing duplications. | ||
35 | ; see hit rates with console comand: fcache status | ||
36 | MemoryCacheTimeout = .001 // 3.6s ie around 4s (1s resolution) | ||
32 | 37 | ||
33 | ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes | 38 | ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes |
34 | ; Specify 0 if you do not want your disk cache to expire | 39 | ; Specify 0 if you do not want your disk cache to expire |