Cakes can last much longer, some even improving with age (fruit cake).
From the very earliest items, a large number of French provinces have produced cakes for which they are noted.This is due to primarily to advances in technology (more reliable ovens, manufacture/availability of food molds) and ingredient availability (refined sugar). When removed the icing cooled quickly to form a hard, glossy [ice-like] covering.At that time cake hoops--round molds for shaping cakes that were placed on flat baking trays--were popular. Many cakes made at this time still contained dried fruits (raisins, currants, citrons).Gateau has wider applications in French, just as 'cake' does in English..can mean a savoury cake, a sweet or savoury tart, or a thin pancake." ---Oxford Companion to Food, Alan Davidson [Oxford University Press: Oxford] 1999 (p. Choux/ puff paste, sponge, French cremes, Gateau St. As time progressed, baking pans in various shapes and sizes, became readily available to the general public.Moulded cakes (and fancy ices) reached their zenith in Victorian times.