Coffee: Best taste is 2-10 days after roasting. Correctly stored whole beans keep most of flavor up to a month after roasting. However, common direction is that properly stored (with degassed bag) whole beans maintain freshness for up to 6-9 mos max. Once beans are ground, then it retains less flavor and freshness and can become stale within days max.  Loose Leaf Tea: Properly stored black tea can retain flavor for up to two years max, and one year max for green and white teas. In theory, if stored correctly, tea will never spoil, but will eventually taste stale.