Shelf life of how many years? Maybe before the invasion of ‘food moths’. . .
speaking of moths, we had an invasion of ‘pantry moths’ that lasted several months before we discovered the phermone traps (which was the ONLY thing that killed the buggers). We pulled one of those traps out and within an hour the trap was surrounded by dozens of males just waiting to get stuck to the sticky tape.
So I’d highly recommend ‘pantry moth’ traps as part of basic food storage.
(I also now deep-freeze flour, corn flour, pancake mix, beans, peas, etc for two weeks prior to dry storing so as to kill the bugs they all contain)