diff --git a/src/content/docs/en/reference/configuration-reference.mdx b/src/content/docs/en/reference/configuration-reference.mdx index 5a52a37c0ebe4..da57b4df2bd4e 100644 --- a/src/content/docs/en/reference/configuration-reference.mdx +++ b/src/content/docs/en/reference/configuration-reference.mdx @@ -583,7 +583,7 @@ The default prefetch strategy to use when the `data-astro-prefetch` attribute is - `'tap'`: Prefetch just before you click on the link. - `'hover'`: Prefetch when you hover over or focus on the link. (default) - `'viewport'`: Prefetch as the links enter the viewport. -- `'load'`: Prefetch the link without any restrictions. +- `'load'`: Prefetch all links on the page after the page is loaded. You can override this default value and select a different strategy for any individual link by setting a value on the attribute. diff --git a/src/content/docs/es/reference/configuration-reference.mdx b/src/content/docs/es/reference/configuration-reference.mdx index 3e495e538c0e5..4c93c53b83937 100644 --- a/src/content/docs/es/reference/configuration-reference.mdx +++ b/src/content/docs/es/reference/configuration-reference.mdx @@ -539,7 +539,7 @@ Cuando se establece en `true`, puedes deshabilitar el prefetching individualment

-**Tipo:** `'tap' | 'hover' | 'viewport'`
+**Tipo:** `'tap' | 'hover' | 'viewport' | 'load'`
**Por defecto:** `'hover'`

@@ -548,6 +548,7 @@ La estrategia de precarga predeterminada para utilizar cuando el atributo `data- - `'tap'`: Precarga justo antes de hacer clic en el enlace. - `'hover'`: Precarga cuando pasas el cursor o te enfocas en el enlace. (predeterminada) - `'viewport'`: Precarga cuando los enlaces entran en el viewport. +- `'load'`: Precarga todos los enlaces en la página después de que la página se ha cargado. Puedes reemplazar este valor predeterminado y seleccionar una estrategia diferente para cualquier enlace individual estableciendo un valor en el atributo. diff --git a/src/content/docs/ko/reference/configuration-reference.mdx b/src/content/docs/ko/reference/configuration-reference.mdx index 7b87f9e6c3637..0f86115efc0e6 100644 --- a/src/content/docs/ko/reference/configuration-reference.mdx +++ b/src/content/docs/ko/reference/configuration-reference.mdx @@ -555,7 +555,7 @@ prefetch: {

-**타입:** `'tap' | 'hover' | 'viewport'`
+**타입:** `'tap' | 'hover' | 'viewport' | 'load'`
**기본값:** `'hover'`

@@ -564,6 +564,7 @@ prefetch: { - `'tap'`: 링크를 클릭하기 직전에 미리 가져옵니다. - `'hover'`: 링크 위로 마우스를 가져가거나 링크에 초점을 맞추면 미리 가져옵니다. (기본값) - `'viewport'`: 링크가 뷰포트에 들어갈 때 미리 가져옵니다. +- `'load'`: 페이지가 로드된 후에 페이지의 모든 링크를 미리 가져오세요.。 속성에 값을 설정하여 이 기본값을 무시하고 개별 링크에 대해 다른 전략을 선택할 수 있습니다. diff --git a/src/content/docs/zh-cn/reference/configuration-reference.mdx b/src/content/docs/zh-cn/reference/configuration-reference.mdx index e841484623970..75be9f3bf8a14 100644 --- a/src/content/docs/zh-cn/reference/configuration-reference.mdx +++ b/src/content/docs/zh-cn/reference/configuration-reference.mdx @@ -572,7 +572,7 @@ prefetch: {

-**类型:** `'tap' | 'hover' | 'viewport'`
+**类型:** `'tap' | 'hover' | 'viewport' | 'load'`
**默认值:** `'hover'`

@@ -581,6 +581,7 @@ prefetch: { - `'tap'`:在你点击链接之前进行预获取。 - `'hover'`:当你悬停或聚焦在链接上时进行预获取。(默认) - `'viewport'`:当链接进入视口时进行预获取。 +- `'load'`:当页面加载后预获取当前页面的所有链接。 你可以通过在属性上设置值来覆盖此默认值,并为任何单独的链接选择不同的策略。