put post and category view into cache