Nâng CaoSEO iconSEO

generateStaticParams và ISR ảnh hưởng SEO thế nào?

generateStaticParams pre-render dynamic routes tại build time (SSG) → HTML sẵn sàng, Google index ngay, TTFB cực nhanh.

Ví dụ: blog có 100 posts → generate 100 static HTML pages. ISR (Incremental Static Regeneration): kết hợp tốt nhất của SSG và SSR — serve cached HTML, background revalidate sau N giây. SEO benefits:

  1. Fast TTFB → Google crawl nhanh hơn
  2. HTML đầy đủ → index ngay không cần render JS
  3. Luôn fresh content với revalidate. Pattern: generateStaticParams cho known routes (categories, popular posts), fallback dynamic rendering cho routes mới (long-tail). Với revalidate: 3600 (1 giờ): Google luôn thấy content mới nhất, users luôn thấy fast page

Xem toàn bộ SEO cùng filter theo level & chủ đề con.

Mở danh sách SEO