add option to disable cache