I try to keep my coffee on it's own schedule regardless of my riding. for a while, during an aggressive body transformation project, about 10 years ago, I was popping a caffeine pill, along with B6, B12 & a small box of raisins prior to my rides, runs, swims & weight training. it served it's purpose well, but I've since backed off all of that