When baking your bar cake there are several things you need to put in mind to ensure that the shelf life of the cake is not compromised.