Preheat oven to 160°C fan forced and line the sides and bottom of a slice/brownie sized baking tray with baking paper.
Combine coconut, flours and caster sugar in a stand mixer or food processor until just combined. Then add the butter while mixing on low speed until the dough just forms a ball.
Remove the dough from the mixer/food processor and spreading evenly press the dough into the base of the baking tray, before baking for 15 minutes.
Remove from the oven and set aside to cool whilst you make the caramel filling.