Optimization of R/W using the cache thing