-
Notifications
You must be signed in to change notification settings - Fork 11
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
Traduction de cached-components.md
#29
Conversation
Signed-off-by: Bruno Lesieur <[email protected]>
en/faq/cached-components.md
Outdated
|
||
> Although Vue's SSR is quite fast, it can't match the performance of pure string-based templating due to the cost of creating component instances and Virtual DOM nodes. In cases where SSR performance is critical, wisely leveraging caching strategies can greatly improve response time and reduce server load. | ||
> Bien que le rendu côté serveur de Vue soit rapide, il ne rivalise pas avec les performances d'un template basé sur une chaine de caractère pure, et ceux, à cause du coût de création des instances de composant et des nœuds du DOM virtuel. Dans le cas où les performances du rendu côté serveur est critique, mettre en place une bonne stratégie de mise en cache peut grandement améliorer le temps de réponse et réduire la charge serveur. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"à cause du cout"
Signed-off-by: Bruno Lesieur <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quelques erreurs et remarques
en/faq/cached-components.md
Outdated
@@ -1,26 +1,27 @@ | |||
--- | |||
title: Caching Components | |||
description: How to cache components? | |||
title: Composants avec cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Composants avec cache => Mettre en cache les composants
en/faq/cached-components.md
Outdated
## Utilisation | ||
|
||
- Ajoutez la dépendance `@nuxtjs/component-cache` en utilisant Yarn ou npm pour votre projet. | ||
- Ajoutez `@nuxtjs/component-cache` to `modules` section of `nuxt.config.js`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ajoutez @nuxtjs/component-cache
to à la section modules
section of de nuxt.config.js
.
en/faq/cached-components.md
Outdated
|
||
- Les composants à mettre en cache **doivent définir une option `name` unique**. | ||
- Vous **NE** devez ***PAS*** mettre en cache un composant si | ||
- ses composants enfants sont liés à ur état global ou si |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ses composants enfants sont liés à ur état global ou si => ses composants enfants sont liés à l'état global
Signed-off-by: Bruno Lesieur <[email protected]>
Signed-off-by: Bruno Lesieur <[email protected]>
Une toute nouvelle page :)