Unverified Commit 455d1641 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix some casing of "On-Demand ISR" (#37892)

parent 2608e7d8
...@@ -10,7 +10,7 @@ description: API reference for `getStaticPaths`. Learn how to fetch data and gen ...@@ -10,7 +10,7 @@ description: API reference for `getStaticPaths`. Learn how to fetch data and gen
| Version | Changes | | Version | Changes |
| ------- | ------- | | ------- | ------- |
| `v12.1.0` | [On-demand Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md#on-demand-revalidation-beta) added (Beta). | | `v12.1.0` | [On-Demand Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md#on-demand-revalidation-beta) added (Beta). |
| `v9.5.0` | Stable [Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md) | | `v9.5.0` | Stable [Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md) |
| `v9.3.0` | `getStaticPaths` introduced. | | `v9.3.0` | `getStaticPaths` introduced. |
......
...@@ -10,7 +10,7 @@ description: API reference for `getStaticProps`. Learn how to use `getStaticProp ...@@ -10,7 +10,7 @@ description: API reference for `getStaticProps`. Learn how to use `getStaticProp
| Version | Changes | | Version | Changes |
| ------- | ------- | | ------- | ------- |
| `v12.1.0` | [On-demand Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md#on-demand-revalidation-beta) added (Beta). | | `v12.1.0` | [On-Demand Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md#on-demand-revalidation-beta) added (Beta). |
| `v10.0.0` | `locale`, `locales`, `defaultLocale`, and `notFound` options added. | | `v10.0.0` | `locale`, `locales`, `defaultLocale`, and `notFound` options added. |
| `v10.0.0` | `fallback: 'blocking'` return option added. | | `v10.0.0` | `fallback: 'blocking'` return option added. |
| `v9.5.0` | Stable [Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md) | | `v9.5.0` | Stable [Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md) |
......
...@@ -18,7 +18,7 @@ description: 'Learn how to create or update static pages at runtime with Increme ...@@ -18,7 +18,7 @@ description: 'Learn how to create or update static pages at runtime with Increme
| Version | Changes | | Version | Changes |
| --------- | --------------------------------------------------------------------------------------- | | --------- | --------------------------------------------------------------------------------------- |
| `v12.1.0` | On-demand ISR added (Beta). | | `v12.1.0` | On-Demand ISR added (Beta). |
| `v12.0.0` | [Bot-aware ISR fallback](https://nextjs.org/blog/next-12#bot-aware-isr-fallback) added. | | `v12.0.0` | [Bot-aware ISR fallback](https://nextjs.org/blog/next-12#bot-aware-isr-fallback) added. |
| `v9.5.0` | Base Path added. | | `v9.5.0` | Base Path added. |
...@@ -91,7 +91,7 @@ When a request is made to a path that hasn’t been generated, Next.js will serv ...@@ -91,7 +91,7 @@ When a request is made to a path that hasn’t been generated, Next.js will serv
If you set a `revalidate` time of `60`, all visitors will see the same generated version of your site for one minute. The only way to invalidate the cache is from someone visiting that page after the minute has passed. If you set a `revalidate` time of `60`, all visitors will see the same generated version of your site for one minute. The only way to invalidate the cache is from someone visiting that page after the minute has passed.
Starting with `v12.1.0`, Next.js supports on-demand Incremental Static Regeneration to manually purge the Next.js cache for a specific page. This makes it easier to update your site when: Starting with `v12.1.0`, Next.js supports On-Demand Incremental Static Regeneration to manually purge the Next.js cache for a specific page. This makes it easier to update your site when:
- Content from your headless CMS is created or updated - Content from your headless CMS is created or updated
- Ecommerce metadata changes (price, description, category, reviews, etc.) - Ecommerce metadata changes (price, description, category, reviews, etc.)
...@@ -130,7 +130,7 @@ export default async function handler(req, res) { ...@@ -130,7 +130,7 @@ export default async function handler(req, res) {
[View our demo](https://on-demand-isr.vercel.app) to see on-demand revalidation in action and provide feedback. [View our demo](https://on-demand-isr.vercel.app) to see on-demand revalidation in action and provide feedback.
### Testing on-demand ISR during development ### Testing on-Demand ISR during development
When running locally with `next dev`, `getStaticProps` is invoked on every request. To verify your on-demand ISR configuration is correct, you will need to create a [production build](/docs/api-reference/cli.md#build) and start the [production server](/docs/api-reference/cli.md#production): When running locally with `next dev`, `getStaticProps` is invoked on every request. To verify your on-demand ISR configuration is correct, you will need to create a [production build](/docs/api-reference/cli.md#build) and start the [production server](/docs/api-reference/cli.md#production):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment