Auto-refreshISR

Incremental Static Regeneration

This page regenerates every 2 minutes. It combines the speed of static pages with the freshness of dynamic content.

Generated:2026-11-24T09:27:45.394Z
Next update:2026-11-24T09:29:45.394Z

How ISR Works

1

Initial Build

Page is pre-rendered at build time

2

Serve Cached

Cached version served to users

3

Revalidate

After 2 min, page regenerates

4

Update Cache

New version replaces old cache

Product Catalog

Premium Widget 1
Electronics
4.9

Premium Widget 1

High-quality widget designed for everyday use with premium materials and excellent durability.

$78.41In Stock
Classic Gadget 2
Clothing
3.1

Classic Gadget 2

High-quality gadget designed for everyday use with premium materials and excellent durability.

$88.45In Stock
Modern Device 3
Books
3.5

Modern Device 3

High-quality device designed for everyday use with premium materials and excellent durability.

$126.91In Stock
Essential Tool 4
Home
3.4

Essential Tool 4

High-quality tool designed for everyday use with premium materials and excellent durability.

$73.51In Stock
Deluxe Item 5
Sports
3.9

Deluxe Item 5

High-quality item designed for everyday use with premium materials and excellent durability.

$59.04In Stock
Premium Widget 6
Out of Stock
Electronics
3.4

Premium Widget 6

High-quality widget designed for everyday use with premium materials and excellent durability.

$123.21
Classic Gadget 7
Clothing
3.2

Classic Gadget 7

High-quality gadget designed for everyday use with premium materials and excellent durability.

$80.32In Stock
Modern Device 8
Books
3.2

Modern Device 8

High-quality device designed for everyday use with premium materials and excellent durability.

$180.05In Stock

Code Example

// Set revalidation period (in seconds)
export const revalidate = 120; // 2 minutes

export default async function ISRPage() {
  // This data will be fetched at build time
  // and revalidated every 2 minutes
  const products = await fetchProducts();
  
  return <ProductGrid products={products} />;
}

// You can also use revalidatePath() or revalidateTag()
// for on-demand revalidation via API routes