There are so many factors!!!!!!
Ill try to help you, based on what i read in books, and from experience.
So...
Red wines usualy last longer than white or rose wines
Wines that have contact with wood usualy last longer, becouse they extract woody flavors, but not only that, the wine also recibes tanin, and tanin is a strong anti-oxidant, and naturaly protects the wine, my favorit woods are american and french oak, cherry and chessnut. I usualy use at least too tipes of each one, simply dry and light toast. Some times medium or strong toast, the species of the wood and the kind of toast, change dramatacly a wine! Make some experiences!