I freeze my flour for about a week, before using or storing.
I store in large tin cans, with 02 absorbers....I tested one that was stored for 11 years...and, it’s perfect, still....used it for baking and all was good!
I also store flours, and, grains in mylar, w/02 absorbers.
Thanks!