It is hard to stock up on flour, it attracts moisture out of the air and will go stale because of it.
To beat the prices of flour buy the whole grain in 50 lbs bags and get yourself a reasonable priced grain grinder and make your own flour. I have done this for many years.
You can store grain in new (clened) tin garbage cans. I freeze my 50 lbs bags i an old freezer in the garge. Freezing time about a week, that takes care of any bugs that MIGHT be in there. Then I dump the grain into those cans (I have a dry, cool basement). Just to be careful I have a few of the pantry traps to catch any mealy moths who might want to invade the grain.
Everytwo noths I take a big long stick (heavy 1 1/2" dowel, 4 1/2 ft long) and stir the grain to airate it, then put lid back on. Grain easily keeps 3 + yrs that way, it will lose a tiny little bit of its nutrients but not enough to worry about.
I have on hand hard white wheat for entire whole wheat bread (without ap flour),
Hard Red wheat to mix with some soft white wheat to make something similar to AP flour
Soft white wheat to grind into fine, soft pastry flour for pastries, cakes, cookies, or whatever.
Rye and whole corn and whole oat kernels (groats)
I just ordered another 50 lbs sack of hard white wheat, it cost $14.95 delivered to the house,. (It use to be under $10.00 two years ago)
Durum wheat has almost tripled in price so watch the price of pasts go a lot higher, better stock up when there is a sale.
Nothing beats baked goods made from fresh ground flour. To look at some mills, go to waltonfeed.com and click on "Grinders", it gives you charts of the diffrerent types of grinders and their pro's and con's of the different types.
I have an electric K-Tech Kitchen mill ***(impact type for uni-fine). I also have a small one made by "Golden Grain", called the :"Nugget". It has stones for grinding. I have it hooked up to an electric motor (with 3 pullies to slow the rpms) but it can also be operated by hand with the large flywheel (in case of powwer outage). I used to have the large "Golden Grain" but it finally bit the dust after 36 yrs of constant use (the motor shaft wore out) so I bought the smaller version. With the two different types of mills I can make anything from real coarse cracked wheat to the finest grind pastry flour.
*** 3 + yrs ago I paid $125.00 for the K-tech,(marked down from $149.00 as a X-mas special). It is now $ 185.00. It is a good mill, only on the coarsest grind setting the flour is still fairly fine and therefore fine for those who like fine and real fine flour. It grinds fast but is a bit noisy (sounds like a mini jet airoplane)