"I'm thinking non-perishables or stuff with a high shelf life but what else should you consider buying?"
This is by no means my area of expertise, but in provisioning for earthquakes and other disruptions, I have simply bought more of what we're already using.
Not only will you not waste the items, you will keep them refreshed and current as you cycle through your (longer) queue of normal foods you eat.