Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docs) Перевод nuxt-prefetch-comparison #51

Merged
merged 3 commits into from
Jun 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions content/7.blog/6.introducing-smart-prefetching.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Introducing Smart Prefetching
description: 'Starting from Nuxt v2.4.0, Nuxt will automagically prefetch the code-splitted pages linked with a nuxt-link when visible in the viewport by default.'
title: Введение в умную предзагрузку
description: 'Начиная с Nuxt v2.4.0, Nuxt будет автоматически предварительно загружать разделенные на части страницы, связанные с nuxt-link при их видимости в области просмотра по умолчанию.'
Ibochkarev marked this conversation as resolved.
Show resolved Hide resolved
image: /assets/blog/introducing-smart-prefetching.png
date: 2019-01-28
authors:
Expand All @@ -10,15 +10,15 @@ authors:
category: Релиз
---

## Introducing Smart prefetching ⚡️
## Введение в умную предзагрузку ⚡️

Starting from [Nuxt v2.4.0](https://github.com/nuxt/nuxt.js/releases/tag/v2.4.0), Nuxt will automagically prefetch the code-splitted pages linked with `<nuxt-link>` when visible in the viewport **by default**. This hugely improves the end user performances, inspired by [quicklink](https://github.com/GoogleChromeLabs/quicklink).
Начиная с [Nuxt v2.4.0](https://github.com/nuxt/nuxt.js/releases/tag/v2.4.0), Nuxt автоматически будет предварительно загружать код, разделенный на страницы, которые связаны с `<nuxt-link>` при их видимости в области просмотра **по умолчанию**. Это значительно улучшает производительность для конечных пользователей, вдохновленное [quicklink](https://github.com/GoogleChromeLabs/quicklink).
Ibochkarev marked this conversation as resolved.
Show resolved Hide resolved

![nuxt-prefetch-comparison](https://res.cloudinary.com/practicaldev/image/fetch/s--jP7Crsw7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://user-images.githubusercontent.com/904724/51692960-4158be80-1ffe-11e9-9299-61881d06412e.gif)

Demos are online and we recommend you to try it out to feel the difference:
Демонстрационные версии доступны онлайн, и мы рекомендуем вам попробовать их, чтобы почувствовать разницу:

- No prefetching (v2.3): [https://nuxt-no-prefetch.surge.sh](https://nuxt-no-prefetch.surge.sh)
- With prefetching (v2.4): [https://nuxt-prefetch.surge.sh](https://nuxt-prefetch.surge.sh)
- Без предварительной загрузки (v2.3): [https://nuxt-no-prefetch.surge.sh](https://nuxt-no-prefetch.surge.sh)
- С предварительной загрузкой (v2.4): [https://nuxt-prefetch.surge.sh](https://nuxt-prefetch.surge.sh)

You can learn more about this feature in the [`<nuxt-link>`](https://v2.nuxt.com/docs/features/nuxt-components#the-nuxtlink-component) section of the documentation.
Вы можете узнать больше об этой функции в разделе [`<nuxt-link>`](https://v2.nuxt.com/docs/features/nuxt-components#the-nuxtlink-component) документации.
Loading