After trying all different types of warmup routines (including no warmup), I've landed on doing 10-15 mins of static stretches before leg day (starting with either squat or DL), and integrated into my warmup sets. If I'm working in the 405 range, my warmup would be:
135x8, 135x8, 225x5, 315x3...