Cask ale outperformed a shrinking UK beer market in 2009 thanks to growing interest in the category from younger consumers.