Web Performance Optimization & Lighthouse · レッスン

初めての監査を実行する

さまざまなWebページで初めてのLighthouse監査を実行し、スコアリングの仕組みを実践的に理解します。

レッスン 2/411 ステップ

「初めての監査を実行する」はCoddyKit上の無料Web Performance Optimization & Lighthouseレッスンです。 これはレッスン2/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはWeb Performance Optimization & Lighthouse学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Web Performance Optimization & Lighthouseコースには全4レッスンが含まれています。

このレッスンの一部はまだ翻訳されておらず、英語で表示されています。

Your First Lighthouse Audit

Welcome to your first hands-on Lighthouse audit! In this lesson, you'll learn how to run an audit on any webpage and understand its performance scores.

Lighthouse is a powerful tool built by Google to help developers improve the quality of their web pages. It checks for performance, accessibility, SEO, and more.

Where to Find Lighthouse

Google Lighthouse is built right into your Chrome browser's developer tools. You don't need to install anything extra!

  • Open Chrome and navigate to any webpage.
  • Right-click anywhere on the page and select "Inspect" (or use Ctrl+Shift+I / Cmd+Option+I).
  • This opens the Developer Tools panel.

Launching Your First Audit

Once Developer Tools are open, navigate to the Lighthouse tab. You'll see options to configure your audit:

  • Categories: Choose which aspects to check (e.g., Performance, Accessibility).
  • Device: Select "Mobile" or "Desktop" to simulate different environments.
  • Click "Analyze page load" to start!

What Lighthouse Checks

Lighthouse audits cover several key areas to give you a complete picture of your website's health:

  • Performance: How fast your page loads and responds.
  • Accessibility: How usable your page is for people with disabilities.
  • Best Practices: General web development recommendations.
  • SEO: How well your page is optimized for search engines.
  • PWA: Checks for Progressive Web App standards (if applicable).

Behind the Scenes of an Audit

When you click "Analyze page load," Lighthouse goes to work:

  • It loads your page in a simulated, controlled environment.
  • It gathers data on various metrics like load times, user interactions, and best practice adherence.
  • This data is then compiled into a comprehensive report, which you'll see in the DevTools panel.

Decoding Your Lighthouse Score

After the audit, you'll see an overall score for each category, usually from 0 to 100. Higher is better!

Each score is an average of several underlying metrics. For example, the Performance score combines metrics like First Contentful Paint (FCP) and Largest Contentful Paint (LCP).

Lighthouse Scoring Ranges

Lighthouse uses a color-coded system to quickly show you how your page performs:

  • 0-49 (Red): Poor performance. There's significant room for improvement.
  • 50-89 (Orange): Average performance. Good, but could be better.
  • 90-100 (Green): Excellent performance. Your page is doing great!

Aim for green scores across all categories for the best user experience.

A Real-World Audit (Conceptual)

Imagine you audit a simple blog post. Lighthouse might give you a report like this:

  • Performance: 75 (Orange)
  • Accessibility: 98 (Green)
  • Best Practices: 90 (Green)
  • SEO: 85 (Orange)

This report tells you your blog is accessible and follows many best practices, but its performance and SEO could use some tweaks.

Tips for Accurate Audits

To get the most accurate and consistent results from Lighthouse, keep these tips in mind:

  • Use Incognito Mode: This disables browser extensions that might interfere.
  • Stable Network: Ensure you have a consistent internet connection.
  • Close Other Tabs: Reduce background activity for clearer results.
  • Run Multiple Times: Performance can vary slightly, so run a few audits and average the scores.

Check Your Understanding

Let's test what you've learned about Lighthouse scoring.

Recap: Running & Scoring Audits

Great job! You've learned how to run your first Lighthouse audit and understand its scoring system.

  • You can access Lighthouse via Chrome DevTools.
  • Audits cover Performance, Accessibility, Best Practices, SEO, and PWA.
  • Scores are color-coded: 0-49 (red), 50-89 (orange), 90-100 (green).
  • For accurate results, use Incognito mode and a stable network.

Next, we'll dive deeper into interpreting these reports and understanding the recommendations!

無料で開始

AI チューターと学ぶ Web Performance Optimization & Lighthouse — 無料

ブラウザでリアルコードを書いて実行し、24/7 の AI チューターから瞬時にサポートを受け、ウェブまたはアプリで続きから学習できます。

コース
12
レッスン
48

よくある質問

「初めての監査を実行する」レッスンは無料ですか?

はい。「初めての監査を実行する」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Web Performance Optimization & Lighthouseコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Web Performance Optimization & Lighthouseコースには全4レッスンが含まれています。

「初めての監査を実行する」で何を学びますか?

さまざまなWebページで初めてのLighthouse監査を実行し、スコアリングの仕組みを実践的に理解します。 ブラウザで直接実行するハンズオンコードでWeb Performance Optimization & Lighthouseを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

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

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

「初めての監査を実行する」レッスンにはどのくらい時間がかかりますか?

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

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

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

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

  1. Google Lighthouse入門
  2. 初めての監査を実行する
  3. Lighthouseレポートの読み解き方
  4. Lighthouseスコアリングを理解する
← Web Performance Optimization & Lighthouseに戻る