because it takes 1 hour to caramelize onions, it's not always possible for a weeknight dinner. here's how you can make them in advance: refrigerate for up to 4 days. make them ahead and refrigerate until you're ready to make the recipe.