01 -
In a large heavy-bottomed pan, combine sugar, pineapple juice, vinegar, and salt. Bring everything to a gentle boil.
02 -
Stir in the chili flakes, minced garlic, and ketchup. Let it bubble away on medium heat for about 5 minutes.
03 -
Reduce the heat to low. Gradually whisk in the cornflour-water mixture, being careful to prevent any lumps from forming.
04 -
Continue cooking on low heat, stirring occasionally, until the sauce reaches your desired thickness. Remember, it will thicken more as it cools.
05 -
Let the sauce cool completely, then transfer to a sterilized bottle and keep refrigerated.