Set cache when write one option