Posts

Showing posts from December, 2017

Lighthouse - An Overview

Image
What is Lighthouse Overview Lighthouse is an open-source , automated tool for improving the quality of web pages. You can run it against any web page, public or requiring authentication. It has audits for performance, accessibility, progressive web apps, and more. Why it’s Useful Running reports on an application gives us insight into issues early on without us having to scan through our application each time. Lighthouse can be ran manually in Devtools but also via the CLI or programmatically as discussed further down so generating these reports can also be automated. With this information and tooling it could be possible to see issues at the point they come in such as a commit that ruins performance or adds a bad practice which could easily be missed by a code review. Generating Reports Resulting Reports Reports can be output via HTML or json so you can parse and inspect the data programmatically. At the time of writing by default you’ll get 4 categories (Progressive Web App