Gold Coin Blogger

Codeigniter: How should I list categories in my sidebar? Should I query on every pageload, or is there an accepted way to cache this data?