Added pagination for products index and product by category pages. Updated cache invalidations to check for page numbers as well.