Get key cache optimization.