Optimization for append to cache