Compote is similar to jelly (jam) but tends to use less sugar and lasts less time in the fridge. Compote also uses a thickener such as, cornstarch (cornflour).