Does Caffeine Affect Our Memory? There is a claim that drinking coffee right after learning something helps you remember what you learned up to 24 hours later. Is it true? If it is, then how it effects the memory?
There was an episode of myth busters they were testing is it better to stay wired or tired and the outcome was you cognitive skills improve when you are wired on caffeine. 

Now I don’t know about memory but I am sure all the answers you are going to receive will be highly subjective...but the above mentioned episode is the closest thing to a scientific answer we will ever get IMO.