This is a bit ot, but I'm curious about something and thought I would ask here rather than start a new thread: has anyone else felt stronger riding after doing a leg workout?

The reason I ask is that I've noticed a pattern where a couple hours after a heavy leg workout (squats, deadlifts, etc.) my riding feels very strong. Then, the next day, I'm all sore and my legs are crap for riding. I get that part, I'm obviously sore from lifting, but I don't understand why I'm riding better the same day after lifting.

Moreover (and this might sound absurd) I'm wondering if there could be any benefits to a moderate amount of lifting the day of a race?!