Consider an option to flush cache automatically/periodically. It may be also useful if it is not flushed at all or manually when going for long vacations or such.. so it should be just an option.
If flushed automatically it would be good to do it when connected to power.. might be in fact better trigger than automatic timer.
From the manual:
The variable diskCacheTruncateTime specifies the time for which an on-disk entry should remain unused before it is eligible for truncation; it defaults to 4 days and a half. The variable diskCacheTruncateSize specifies the size at which files are truncated after they have not been accessed for diskCacheTruncateTime; it defaults to 1MB. ```
hence for the beginning diskCacheUnlinkTime seems fine as is, while I do not like the truncate options - imho it is better to delete such files altogther. Therefore I always set diskCacheTruncateTime=diskCacheUnlinkTime+2 to leave them around until deleted.
Consider an option to flush cache automatically/periodically. It may be also useful if it is not flushed at all or manually when going for long vacations or such.. so it should be just an option.
If flushed automatically it would be good to do it when connected to power.. might be in fact better trigger than automatic timer.
From the manual: