{{Short description|Open-source, automated tool for measuring the quality of web pages}} {{Infobox software | title = Lighthouse | logo = Google Lighthouse logo.svg | logo caption = | logo alt = | logo upright = | logo size = | collapsible = <!-- Any text here will collapse the screenshot. --> | screenshot = <!-- File name without 'File:' --> | screenshot upright = | screenshot size = | screenshot alt = | caption = | other_names = | author = | developer = | released = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> | programming language = JavaScript | middleware = | engine = <!-- or |engines= --> | operating system = | platform = | included with = | replaces = | replaced_by = | service_name = | size = | standard = | language = | language count = <!-- Number only --> | language footnote = | genre = | license = Apache License 2.0 | AsOf = | module = <!-- Used to embed other templates --> }}
'''Lighthouse''' is an open-source, automated tool for measuring the quality of web pages developed by Google.<ref>[https://openurl.ebsco.com/EPDB%3Agcd%3A14%3A9900878/detailv2?sid=ebsco%3Aplink%3Ascholar&id=ebsco%3Agcd%3A175805860&crl=c&link_origin=scholar.google.com "USING AUTOMATED ACCESSIBILITY METERING TOOLS IN TRANSPARENCY RANKINGS IN BRAZIL".] Silveira Baldo, Franklin; Veludo Watanabe, Carolina Yukari; Ton Tiussi, Denise. Direito da Cidade, 2023, Vol 15, Issue 3, P. 1636.</ref> It can be run against any web page, public or requiring authentication. Lighthouse audits performance, accessibility, and search engine optimization factors of web pages,<ref>{{Cite web|url=https://www.practicalecommerce.com/google-lighthouse-monitor-site-performance-seo-accessibility|title=Google Lighthouse: Monitor Site Performance, SEO, Accessibility|date=May 8, 2018}}</ref><ref>{{Cite web|url=https://www.infoworld.com/article/3271438/web-development/whats-new-in-googles-lighthouse-30.html|title=What's new in Google's Lighthouse|last=Krill|first=Paul|date=2018-05-14|website=InfoWorld|language=en|access-date=2019-01-16|url-access=registration }}</ref><ref>{{Cite web|url=https://www.searchenginejournal.com/chrome-lighthouse/235465/|title=Google Releases an SEO Tool that Measures 10 SEO Metrics|date=2018-02-06|website=Search Engine Journal|language=en|access-date=2019-01-16}}</ref> this is the major difference from Google PageSpeed, Lighthouse provides more detail information. It also includes the ability to test progressive web applications for compliance with standards and best practices. Lighthouse aims to help web developers, the tool can be run by using Chrome browser extension or by using terminal (command) for batch auditing a list of URLs. Google's recommendation is for using the online version of [https://pagespeed.web.dev/ Page Speed Insights] as of 15th May 2015.<ref>{{Cite web |title=PageSpeed Insights |url=https://developers.google.com/speed/pagespeed/insights_extensions |access-date=2023-08-29 |website=Google for Developers |language=en}}</ref>
Lighthouse [Version 10 - May 2023] includes a metric for Progressive Web Applications to ensure that PWA's are fast and reliable, installable and optimised for modern 7th and 8th generation mobile technology.<ref>{{Cite web |title=PWA Audits |url=https://developer.chrome.com/en/docs/lighthouse/pwa/ |access-date=2023-10-18 |website=Google for Developers |language=en}}</ref>
Lighthouse can audit webpage in desktop version and mobile version. In command mode (cmd in Windows), the developer is able to select the factors that need to be audited and other options by using the command line.
thumb|Auditing wikipedia.org by this extension
Recent versions of Lighthouse offer insights into how to optimize the Core Web Vitals metrics (which is one of the signals used by Google's algorithm to rank pages<ref>{{Cite web |title=Understanding Core Web Vitals and Google search results {{!}} Google Search Central {{!}} Documentation |url=https://developers.google.com/search/docs/appearance/core-web-vitals |access-date=2023-08-29 |website=Google for Developers |language=en}}</ref>), as announced by Google engineer Addy Osmani in 2021.<ref>{{Cite web|url=https://web.dev/optimize-vitals-lighthouse/|title=Optimizing Web Vitals using Lighthouse|date=2022-01-22|website=web.dev|language=en|access-date=2022-04-08}}</ref> As of now, Google uses three parameters to measure Core Web Vitals compliance, which are:
* Largest Contentful Paint ([https://web.dev/lcp/ LCP]) * Cumulative Layout Shift ([https://web.dev/cls/ CLS]) * Total Blocking Time ([https://web.dev/tbt/ TBT]) as a proxy for First Input Delay ([https://web.dev/fid/ FID])
On 10th May 2023,<ref>{{Cite web |title=Introducing INP to Core Web Vitals {{!}} Google Search Central Blog |url=https://developers.google.com/search/blog/2023/05/introducing-inp |access-date=2023-08-29 |website=Google for Developers |language=en}}</ref> Google announced that ''Interaction to Next Paint'' ([https://web.dev/inp/ INP]) will replace FID as the metric measuring responsiveness of a page. The move is aimed at getting a better handle on the total time taken for user interactions, rather than just the first interaction. These changes will start affecting page results from March 2024.<ref>{{Cite web |date=2023-06-20 |title=INP. Get ready for the new Core Web Vital |url=http://blog.cloudflare.com/inp-get-ready-for-the-new-core-web-vital/ |access-date=2023-08-29 |website=The Cloudflare Blog |language=en}}</ref>
== See also == * Google PageSpeed Tools
== References == {{Reflist}}
== External links == * {{Official site|https://developers.google.com/web/tools/lighthouse/}}
{{Google FOSS}}
Lighthouse Category:Free web development software Category:Search engine optimization Category:Web accessibility Category:Free software programmed in JavaScript Category:Software using the Apache license