새롭게 등장하는 성능 기술
최적화에서 앞서 나갈 수 있도록 새롭게 등장하고 향후 발전할 웹 성능 기술, 표준, 모범 사례를 알아봅니다.
새롭게 등장하는 성능 기술은(는) CoddyKit의 무료 Web Performance Optimization & Lighthouse 강의입니다. 이것은 4개 중 3번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 Web Performance Optimization & Lighthouse 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. Web Performance Optimization & Lighthouse 강의에는 총 4개의 강의가 포함되어 있습니다.
이 강의의 일부는 아직 번역되지 않았으며 영어로 표시됩니다.
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.
자주 묻는 질문
“새롭게 등장하는 성능 기술” 강의는 무료인가요?
네 — “새롭게 등장하는 성능 기술” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 Web Performance Optimization & Lighthouse 강의 전체를 잠금 해제할 수 있습니다. Web Performance Optimization & Lighthouse 강의에는 총 4개의 강의가 포함되어 있습니다.
“새롭게 등장하는 성능 기술”에서 뭘 배우나요?
최적화에서 앞서 나갈 수 있도록 새롭게 등장하고 향후 발전할 웹 성능 기술, 표준, 모범 사례를 알아봅니다. 브라우저에서 직접 실행하는 실습 코드로 Web Performance Optimization & Lighthouse을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.
Web Performance Optimization & Lighthouse을(를) 시작하는 데 경험이 필요한가요?
사전 경험은 필요하지 않습니다. CoddyKit의 Web Performance Optimization & Lighthouse은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 3번째 강의입니다.
“새롭게 등장하는 성능 기술” 강의는 얼마나 걸리나요?
대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.
이 Web Performance Optimization & Lighthouse 강의에서 코드를 작성하고 실행할 수 있나요?
네. 모든 Web Performance Optimization & Lighthouse 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.
이 강의의 모든 강의
- 성능 예산 설정
- 예산 모니터링 및 알림
- 새롭게 등장하는 성능 기술
- 이해관계자에게 성능 전달하기