Technologies émergentes de performance
Découvrez les technologies, normes et bonnes pratiques nouvelles et émergentes en matière de performance web afin de garder une longueur d’avance dans l’optimisation.
Technologies émergentes de performance est une leçon Web Performance Optimization & Lighthouse gratuite sur CoddyKit. Ceci est la leçon 3 sur 4. Tu peux lire la leçon complète ci-dessous gratuitement — puis la pratiquer en direct dans le navigateur avec un éditeur de code intégré et un tuteur IA 24/7. Elle fait partie du parcours d'apprentissage Web Performance Optimization & Lighthouse, et ta progression se synchronise sur le web et l'application CoddyKit. Le cours Web Performance Optimization & Lighthouse comprend 4 leçons au total.
Certaines parties de cette leçon n'ont pas encore été traduites et s'affichent en anglais.
Diving into Future Perf Tech
The web is always evolving! To stay ahead, it's crucial to understand new performance technologies and standards.
This lesson explores exciting advancements that are shaping the future of web optimization.
The Edge of Innovation
Keeping up with emerging tech helps you:
- Gain a competitive edge: Deliver faster, smoother experiences.
- Improve user satisfaction: Meet rising user expectations.
- Future-proof your skills: Adapt to new browser capabilities and best practices.
Interactions to Next Paint (INP)
Interactions to Next Paint (INP) is a new Core Web Vital that measures a page's responsiveness to user interactions.
It looks at the delay from when a user interacts (click, tap, keypress) until the browser visually updates the page.
A low INP score means a page is highly responsive.
Boosting INP Responsiveness
Improving INP often involves:
- Minimizing main thread work: Avoid long-running JavaScript tasks.
- Debouncing/Throttling: Limit how often event handlers run.
- Using
requestAnimationFrame: For visual updates, schedule them efficiently.
Example:
function handleScroll() {
// Perform visual updates here
}
window.addEventListener('scroll', () => {
requestAnimationFrame(handleScroll);
});function handleScroll() {
// Perform visual updates here
}
window.addEventListener('scroll', () => {
requestAnimationFrame(handleScroll);
});Speeding Up with Early Hints
Early Hints (HTTP 103) is a new HTTP status code that allows servers to send hints about critical subresources (like CSS, JS, fonts) before the main HTML response is ready.
This lets browsers start fetching resources sooner, reducing perceived load time and improving First Contentful Paint.
Proactive Browsing with Speculation Rules
The Speculation Rules API empowers developers to tell the browser which pages the user is likely to visit next.
The browser can then prefetch or even prerender those pages in the background, making navigation feel instant when the user actually clicks.
It's a powerful tool for optimizing multi-page user journeys.
Speculation Rules in Action
You define speculation rules using a <script type="speculationrules"> tag in your HTML:
<script type="speculationrules">
{
"prerender": [
{ "source": "list", "urls": ["/next-page.html", "/product-details.html"] }
]
}
</script>This tells the browser to prerender `/next-page.html` and `/product-details.html` when appropriate.
<script type="speculationrules">
{
"prerender": [
{ "source": "list", "urls": ["/next-page.html", "/product-details.html"] }
]
}
</script>WebAssembly for Raw Speed
WebAssembly (Wasm) is a low-level bytecode format that allows code written in languages like C++, Rust, or Go to run on the web at near-native speeds.
It's ideal for performance-critical tasks that JavaScript might struggle with, such as:
- Heavy computations
- Game engines
- Video processing
Smooth UI with View Transitions
The View Transitions API helps create smooth, animated transitions between different states of a web page without complex manual JavaScript.
It takes a snapshot of the old view, updates the DOM, and then animates between the old and new snapshots.
This dramatically improves the perceived performance and user experience during single-page application (SPA) navigation.
Emerging Tech Knowledge
Which of the following emerging technologies helps browsers proactively fetch or render future pages, potentially making navigation feel instant?
Recap: Staying Ahead
We explored several key emerging web performance technologies:
- INP: Measuring interaction responsiveness.
- Early Hints: Faster resource loading.
- Speculation Rules: Proactive page loading.
- WebAssembly: Near-native performance for heavy tasks.
- View Transitions: Smooth UI animations.
Staying informed about these advancements is key to building cutting-edge, high-performance web experiences.
Apprends Web Performance Optimization & Lighthouse avec un tuteur IA — gratuit
Écris et exécute du vrai code dans ton navigateur, obtiens de l'aide instantanée d'un tuteur IA disponible 24h/24, et reprends là où tu t'es arrêté sur le web ou dans l'app.
- Cours
- 12
- Leçons
- 48
Questions Fréquemment Posées
La leçon « Technologies émergentes de performance » est-elle gratuite ?
Oui — le texte complet de « Technologies émergentes de performance » est gratuit à lire ici sur le web. Pour la pratiquer de manière interactive (un éditeur de code intégré et un tuteur IA 24/7) et déverrouiller le reste du cours Web Performance Optimization & Lighthouse, passe à CoddyKit PRO. Le cours Web Performance Optimization & Lighthouse comprend 4 leçons au total.
Qu'est-ce que j'apprendrai dans « Technologies émergentes de performance » ?
Découvrez les technologies, normes et bonnes pratiques nouvelles et émergentes en matière de performance web afin de garder une longueur d’avance dans l’optimisation. Tu pratiques Web Performance Optimization & Lighthouse avec du code pratique que tu exécutes directement dans le navigateur, et un tuteur IA 24/7 répond à tes questions au fur et à mesure que tu avances dans la leçon.
Dois-je avoir de l'expérience pour commencer Web Performance Optimization & Lighthouse ?
Aucune expérience préalable n'est requise. Web Performance Optimization & Lighthouse sur CoddyKit est structuré pour les débutants jusqu'aux apprenants avancés, donc tu peux commencer ici ou depuis le début et avancer à ton rythme. Ceci est la leçon 3 sur 4.
Combien de temps prend la leçon « Technologies émergentes de performance » ?
La plupart des leçons CoddyKit prennent environ 5–10 minutes. Chacune est courte et interactive, tu progresses régulièrement et tu repiques exactement où tu t'es arrêté sur le web et l'app.
Peux-tu écrire et exécuter du code dans cette leçon Web Performance Optimization & Lighthouse ?
Oui. Chaque leçon Web Performance Optimization & Lighthouse inclut un éditeur de code intégré, tu écris et exécutes du vrai code directement dans ton navigateur et tu reçois des retours IA instantanés — aucune configuration locale requise.
Toutes les leçons de ce cours
- Définir des budgets de performance
- Supervision et alertes pour les budgets
- Technologies émergentes de performance
- Communiquer les performances aux parties prenantes