Skip to content

Commit 5254aae

Browse files
sdaigoleerobstyfle
authoredOct 2, 2023
Update image.mdx (#56266)
fix link Co-authored-by: Lee Robinson <9113740+leerob@users.noreply.github.com> Co-authored-by: Steven <229881+styfle@users.noreply.github.com>
1 parent 0d4859b commit 5254aae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎docs/02-app/02-api-reference/01-components/image.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ The cache status of an image can be determined by reading the value of the `x-ne
576576
The expiration (or rather Max Age) is defined by either the [`minimumCacheTTL`](#minimumcachettl) configuration or the upstream image `Cache-Control` header, whichever is larger. Specifically, the `max-age` value of the `Cache-Control` header is used. If both `s-maxage` and `max-age` are found, then `s-maxage` is preferred. The `max-age` is also passed-through to any downstream clients including CDNs and browsers.
577577

578578
- You can configure [`minimumCacheTTL`](#minimumcachettl) to increase the cache duration when the upstream image does not include `Cache-Control` header or the value is very low.
579-
- You can configure [`deviceSizes`](#devicesizes) and [`imageSizes`](#devicesizes) to reduce the total number of possible generated images.
579+
- You can configure [`deviceSizes`](#devicesizes) and [`imageSizes`](#imagesizes) to reduce the total number of possible generated images.
580580
- You can configure [formats](#formats) to disable multiple formats in favor of a single image format.
581581

582582
### `minimumCacheTTL`

‎docs/03-pages/02-api-reference/01-components/image-legacy.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ The cache status of an image can be determined by reading the value of the `x-ne
519519
The expiration (or rather Max Age) is defined by either the [`minimumCacheTTL`](#minimum-cache-ttl) configuration or the upstream image `Cache-Control` header, whichever is larger. Specifically, the `max-age` value of the `Cache-Control` header is used. If both `s-maxage` and `max-age` are found, then `s-maxage` is preferred. The `max-age` is also passed-through to any downstream clients including CDNs and browsers.
520520

521521
- You can configure [`minimumCacheTTL`](#minimum-cache-ttl) to increase the cache duration when the upstream image does not include `Cache-Control` header or the value is very low.
522-
- You can configure [`deviceSizes`](#device-sizes) and [`imageSizes`](#device-sizes) to reduce the total number of possible generated images.
522+
- You can configure [`deviceSizes`](#device-sizes) and [`imageSizes`](#image-sizes) to reduce the total number of possible generated images.
523523
- You can configure [formats](#acceptable-formats) to disable multiple formats in favor of a single image format.
524524

525525
### Minimum Cache TTL

0 commit comments

Comments
 (0)
Please sign in to comment.