My girlfriend's family cabin has a cold storage in the basement. We found some canned stew that had expired in 1982. A friend of mine actually ate it and he didn't get sick!
Yeah, the expiry is beaurocracy in action, but okay beiroacracy, I'm fine with putting the dates. But canned goods are eternal if stored properly, and doing a quick inspection for what you mentioned is all you need when you're scouring the wasteland for Vienna sausages in the far off time of the year 2025.