further cache performance optimizations