allow disabling of cache