You can prepare the croutons up to a week beforehand and keep them in an airtight container at room temperature. The caramelized onions can be made up to 3 days in advance and should be stored in an airtight container in the refrigerator, or they can be frozen for up to 3 months. Any leftovers should be kept in a covered container in the refrigerator for up to 5 days.