Add ability to switch cache on and off per instance