Add option to disable usage of cache