support cache write