Allow disabling of the cache; closes #256