0Pricing
Web Performance Optimization & Lighthouse · レッスン

新たなパフォーマンス技術

最適化で先行するために、新たに登場するWebパフォーマンス技術、標準、ベストプラクティスを学びます。

「新たなパフォーマンス技術」はCoddyKit上の無料Web Performance Optimization & Lighthouseレッスンです。 これはレッスン3/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応の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.

&lt;script type="speculationrules"&gt;
  {
    "prerender": [
      { "source": "list", "urls": ["/next-page.html", "/product-details.html"] }
    ]
  }
&lt;/script&gt;

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時間対応のAIチューター)、Web Performance Optimization & Lighthouseコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Web Performance Optimization & Lighthouseコースには全4レッスンが含まれています。

「新たなパフォーマンス技術」で何を学びますか?

最適化で先行するために、新たに登場するWebパフォーマンス技術、標準、ベストプラクティスを学びます。 ブラウザで直接実行するハンズオンコードでWeb Performance Optimization & Lighthouseを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

Web Performance Optimization & Lighthouseを始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのWeb Performance Optimization & Lighthouseは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン3/4です。

「新たなパフォーマンス技術」レッスンにはどのくらい時間がかかりますか?

ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。

このWeb Performance Optimization & Lighthouseレッスンでコードを書いて実行できますか?

はい。すべてのWeb Performance Optimization & Lighthouseレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。

このコースのすべてのレッスン

  1. パフォーマンスバジェットの設定
  2. バジェットの監視とアラート
  3. 新たなパフォーマンス技術
  4. ステークホルダーへのパフォーマンス説明
← Web Performance Optimization & Lighthouseに戻る