Add a boolean to manage the cache