Web Performance Optimization & Lighthouse · レッスン

Google Lighthouse入門

Google Lighthouseの機能と、パフォーマンスのボトルネックやベストプラクティス違反の特定に役立つ仕組みを学びます。

レッスン 1/411 ステップ

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

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

What is Google Lighthouse?

Welcome to the world of web performance! Our first stop is Google Lighthouse. It's an open-source, automated tool designed to improve the quality of your web pages.

Think of it as your personal web auditor, giving you insights and recommendations to make your site better.

Why Use Lighthouse?

Why is Lighthouse so important?

  • Identify Issues: It helps you find common problems that slow down your website or hinder user experience.
  • Actionable Advice: Instead of just pointing out issues, it provides clear, practical advice on how to fix them.
  • Improve Quality: By following its recommendations, you can enhance performance, accessibility, SEO, and more.

The 5 Core Audits

Lighthouse performs audits across five key categories to give you a comprehensive overview of your web page's quality:

  • Performance: How fast your page loads and responds.
  • Accessibility: How easily users with disabilities can interact with your page.
  • Best Practices: Ensures your site follows modern web development standards.
  • SEO: Checks for common search engine optimization issues.
  • Progressive Web App (PWA): Assesses if your site meets PWA criteria for a reliable, fast, and engaging experience.

How Lighthouse Audits Work

When you run an audit, Lighthouse simulates a user visiting your page. It does this in a controlled environment to ensure consistent results.

It then runs a series of tests, collects performance metrics, and analyzes the page's structure and content against best practices. Finally, it compiles all this into an easy-to-understand report.

Where to Run Lighthouse

The easiest and most common way to run Lighthouse is directly within your web browser, specifically in Google Chrome's Developer Tools (often called DevTools).

It's built right in, so there's no installation needed to get started!

Your First Audit: DevTools Steps

Ready to try it out? Here's how you'd typically run an audit in Chrome DevTools:

  1. Open your website in Chrome.
  2. Right-click anywhere on the page and select 'Inspect' (or use F12 / Cmd+Option+I).
  3. Go to the 'Lighthouse' tab within DevTools.
  4. Select the categories you want to audit (e.g., Performance, SEO).
  5. Click 'Analyze page load'.

Lighthouse will then run its tests and generate a report for you!

Understanding the Report

Once the audit is complete, Lighthouse presents a detailed report. At the top, you'll see a score for each category (Performance, Accessibility, etc.) from 0 to 100.

A higher score means better quality in that area. Below the scores, you'll find sections like 'Opportunities' and 'Diagnostics', which provide specific recommendations.

Focus on Performance Score

While all categories are important, the Performance score is often the first thing people look at. It's a combined score based on several key metrics that measure how quickly and smoothly your page loads and becomes interactive.

Aim for scores above 90 for a great user experience!

Actionable Insights

The real power of Lighthouse lies in its actionable recommendations. For each issue identified, it suggests specific improvements you can make.

For example, if your images are too large, Lighthouse might suggest 'Serve images in next-gen formats' or 'Efficiently encode images'. These insights guide your optimization efforts.

Lighthouse Categories

Which of the following are among the five core audit categories Google Lighthouse evaluates for a web page?

Recap: Intro to Lighthouse

Great job! You've just been introduced to Google Lighthouse, a powerful tool for analyzing and improving your web pages.

We learned that Lighthouse audits Performance, Accessibility, Best Practices, SEO, and PWA, providing actionable advice. The easiest way to run it is directly in Chrome DevTools. Next, we'll dive deeper into running your first audit and understanding the scoring system!

無料で開始

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

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

コース
12
レッスン
48

よくある質問

「Google Lighthouse入門」レッスンは無料ですか?

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

「Google Lighthouse入門」で何を学びますか?

Google Lighthouseの機能と、パフォーマンスのボトルネックやベストプラクティス違反の特定に役立つ仕組みを学びます。 ブラウザで直接実行するハンズオンコードでWeb Performance Optimization & Lighthouseを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

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

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

「Google Lighthouse入門」レッスンにはどのくらい時間がかかりますか?

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

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

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

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

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