mayonnaise is a recent invention of just the past 250 years or so. the shelf life of freshly made aioli is much longer than mayonnaise as well, since there is no raw egg in the sauce. made with just garlic, olive oil, and salt (optional), and kept refrigerated, aioli will last up to 10 days in the fridge.