A South American fruit in a European pastry
A fruit from Brazil, a pastry from Europe, and a pun in Hokkien. The pineapple tart could only have happened in a port.
Neither half of the tart is native. The pineapple is South American. Portuguese and Spanish ships carried it round the world in the sixteenth century, and it took to the soils of Southeast Asia. Butter pastry is European, brought by the Portuguese who held Malacca from 1511, the Dutch who followed, and the British.
The people most likely to have put the two together are the communities who lived between cultures and baked in the European manner: the Eurasians, descended from Portuguese and Dutch settlers, and the Peranakans. Both claim the pineapple tart, and both have made it for generations. In Indonesia it is called nastar, from the Dutch ananas taart, which points the same way.

Pineapple island
There was a practical reason too. From the late nineteenth century Singapore and Johor grew pineapples on a huge scale, often planted between young rubber trees, and canned them for export. Canned pineapple was among Malaya’s important exports, and fortunes were made in it: the planter Lim Nee Soon was known as the Pineapple King.
Fruit was cheap and abundant, and cooking it down into jam was a way to keep it.
Three ingredients of the story
Brought to Asia by Iberian ships in the 1500s, and later grown by the plantation.
Butter shortcrust and the idea of a jam tart, from Portuguese, Dutch and British kitchens.
Pineapple in Hokkien is ong lai, which sounds like “prosperity arrives”. It made the tart a New Year food.
Where it is eaten
All three shapes, in every community.
Especially the roll, for Hari Raya; Malacca is known for the open Nyonya tart.
Closed balls glazed with egg, a fixture of Eid, Christmas and Chinese New Year.
Pineapple cake: a relative with a shortcake case, sold as a souvenir.
