Skip to main content
Dessert

Pineapple Cake Filling

A pineapple-based filling for cakes made with grated pineapple, lemon juice, milk, and cornstarch.

From an old cookbook · modernised transcription
Jump to recipe ↓

Why it works: Pineapple and milk work together. They rank in the top 12% of all ingredient pairs, and cooks put them together in 885 recipes. Both carry methyl 2-methylbutyrate, which smells fruity, apple. The science ↓

Pineapple Cake Filling

Ingredients

Directions

Prepare and cook

  1. Grate the pineapple and juice the lemon.

  2. In a saucepan, combine the grated pineapple, lemon juice, milk, and cornstarch.

  3. Heat the mixture over medium heat until it boils and thickens.

Assemble

  1. Spread the filling between layers of your favorite cake.

Recipe from a historical cookbook (Internet Archive).

Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.

Explore the science

The flavor team

The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.

  1. Pineapple + milktop 12% of all pairs
    Smell alikemoderate
    Cooked together885 recipes

    Shared aroma: methyl 2-methylbutyrate (fruity, apple).

  2. Pineapple + lemontop 12% of all pairs
    Smell alikemoderate
    Cooked together1,964 recipes

    Shared aroma: 2-nonenal (fatty, green).

  3. Lemon + milktop 15% of all pairs
    Smell alikemoderate
    Cooked together19,053 recipes

    Shared aroma: 2-nonenal (fatty, green).

Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs

What each ingredient does

Pineapple
Provides the main fruit flavor and bulk of the filling.
Lemon
Adds acidity that brightens the sweet pineapple flavor.
Milk
Supplies liquid and creaminess to the filling.
Cornstarch
Thickens the mixture as it heats and boils.

The step that matters

Heating until it boils and thickens. Cornstarch only thickens fully once the mixture reaches a boil, and it can scorch on the bottom of the pan if left unstirred over medium heat. Stirring keeps the filling smooth and evenly thickened.

Swap the lemon

How well each one fits the dish's main ingredients (pineapple, milk):

  1. Vanillafits better
  2. Strawberryfits better
  3. Mangofits better
  4. Lemonthe original

Fit is the average pairing score against pineapple, milk. Candidates are from the same food group and used in at least 100 recipes.

“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.

You might also like