To make this cake suitable for a gluten-free diet, replace the all-purpose flour with a 1:1 gluten-free flour blend. Ensure that the baking powder and baking soda are certified gluten-free, and double-check that your espresso powder is free from cross-contamination.