Skip to content

Commit

Permalink
sync content movement
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Jul 1, 2023
1 parent c3d8f5f commit b31243e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion files/zh-cn/glossary/prefetch/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: Link prefetching FAQ
slug: Glossary/Prefetch
original_slug: Web/HTTP/Link_prefetching_FAQ
---

{{GlossarySidebar}}

### 什么是链接预取?

链接预取是一种浏览器机制,其利用浏览器空闲时间来下载或预取用户在不久的将来可能访问的文档。网页向浏览器提供一组预取提示,并在浏览器完成当前页面的加载后开始静默地拉取指定的文档并将其存储在缓存中。当用户访问其中一个预取文档时,便可以快速的从浏览器缓存中得到。
Expand Down
2 changes: 1 addition & 1 deletion files/zh-cn/web/html/attributes/rel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ slug: Web/HTML/Attributes/rel
- `preconnect`
- : 向浏览器提供提示,建议它提前打开与链接网站的连接,而不透露任何私人信息或下载任何内容,以便在跟踪链接时能更快地获取链接内容。
- `prefetch`
- : 指定用户代理应预先获取并缓存目标资源,因为后续导航可能需要该资源。[链接预取常见问题](/zh-CN/docs/Web/HTTP/Link_prefetching_FAQ)有关于哪些链接可以被预取以及替代方法的详细信息
- : 指定用户代理应预先获取并缓存目标资源,因为后续导航可能需要该资源。参见{{Glossary("prefetch", "链接预取")}}以了解详细信息
- `preload`
- : 指定用户代理必须根据 [`as`](/zh-CN/docs/Web/HTML/Element/link#attr-as) 属性给出的潜在目的地(以及与相应目的地相关的优先级),为当前导航预先获取和缓存目标资源。参见 [`preload`](/zh-CN/docs/Web/HTML/Attributes/rel/preload) 值的页面。
- `prerender`
Expand Down
2 changes: 1 addition & 1 deletion files/zh-cn/web/performance/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ API
- [requestIdleCallback()](/zh-CN/docs/Web/API/Window/requestIdleCallback)

- [Beacon API](/zh-CN/docs/Web/API/Beacon_API)
- Resource Hints - [dns-prefetch](/zh-CN/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control), preconnect, [prefetch](/zh-CN/docs/Web/HTTP/Link_prefetching_FAQ), and prerender
- Resource Hints - [dns-prefetch](/zh-CN/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control), preconnect, [prefetch](/zh-CN/docs/Glossary/Prefetch), and prerender
- [FetchEvent.preloadResponse](/zh-CN/docs/Web/API/FetchEvent/preloadResponse)
- [Performance Server Timing API](/zh-CN/docs/Web/API/PerformanceServerTiming)

Expand Down

0 comments on commit b31243e

Please sign in to comment.