Cache categories on index page