Add option to control chunk snapshot cache reference type (weak vs soft)