Cache optimizations