split write and read cache
WARNING build error