adds an option to clear the cache in the isolated environment
refs #305