Forrest logo
back to the lighthouse tool

lighthouse:tldr:7a467

lighthouse: Generate a report, using the HTTP header key/value pairs in the specified JSON file for all requests.
$ lighthouse --extra-headers=${filename-json} ${https:--example-com}
try on your machine

The command "lighthouse" is a command-line interface (CLI) tool used for auditing and generating performance reports for web pages.

Here is the breakdown of the command and its components:

  • "lighthouse": This refers to the lighthouse CLI tool, which is being executed.
  • "--extra-headers=${filename-json}": This is an option to provide additional headers to the audit request. The value "${filename-json}" represents a placeholder for the name of a JSON file that contains the required headers.
  • "${https:--example-com}": This is the URL of the web page or website that you want to analyze using Lighthouse.

In summary, this command runs the lighthouse CLI tool, specifying any extra headers from a JSON file and the URL of the web page to be audited.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lighthouse tool