An expert has warned against keeping cake in the fridge, as she shared the method she uses to keep it "safe to eat" for up to half a year.