option to enable disable caching