Some Chocolate mud cakes can be good for ten days again depending on the recipe and madeira cake for two weeks. You don't have to keep a covered cake in the fridge as long as it doesn't contain fillings which perish rapidly like fresh cream or cream cheese.