A coffee hit an hour before endurance exercise has been shown to give runners and cyclists a different perception of their exertions. It’s also linked to greater stamina and muscle glycogen conservation. But be warned: caffeine is a diuretic, so taking it as a supplement or with additional water is recommended.