add cache group

Add a cache group to save SQL queries.