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
Grate the pineapple and juice the lemon.
In a saucepan, combine the grated pineapple, lemon juice, milk, and cornstarch.
Heat the mixture over medium heat until it boils and thickens.
Assemble
Spread the filling between layers of your favorite cake.
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.
-
Pineapple + milktop 12% of all pairsSmell alikemoderateCooked together885 recipes
Shared aroma: methyl 2-methylbutyrate (fruity, apple).
-
Pineapple + lemontop 12% of all pairsSmell alikemoderateCooked together1,964 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Lemon + milktop 15% of all pairsSmell alikemoderateCooked 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):
- Vanillafits better
- Strawberryfits better
- Mangofits better
- 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
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.
Lemon Cake228 recipes
Lemon Ice147 recipes
Pineapple Sherbet116 recipes
Lemon Sherbet103 recipes