1 year or less you don't have to do too much but keep it in a container and keep a consistent 55-62 RH%.
longer-term is beneficial to do a little more to preserve potency longer... well-stored weed can be as much as 90% of original potency 2 years later. will all the termps last that long? absolutely not as there are a wide range of boiling points, therefore, some evaporate much faster than others over time.
just about freezing seems to be the best temps for preservation. saw some studies that tried sub zero, zero bit above zero etc... i forget the reaoning but just about freezing was best. this is a small sample size but the dynmaics are pretty clear cut here... i'm 80% confident about what it says.
18-24 months - vacuum sealing and store in a cold space... do you good. they need to be fully dried/cured when you do that or you'll just end up with vacuum sealed mold.
If the taste is gone, it gone... if it was in a container, the potency after 6-12 months even in suboptimal conditions should still be there.. 80-90%.