Optimized layout loading