I buy the tins of Allison’s dried yeast and once opened, I keep it in the fridge. Not sure if it prolongs the life, but it lasts well. It takes a couple of months for me to get through a whole tin.
Also, measure flour/water by mass (grammes), not volume. It’s far more accurate and easier.