Add null cache option to disable caching