Let’s say you made your first or another website. Of course, we want to create an accessible and fast website. We can do a basic audit with Lighthouse inside of Chrome!
We can test for the following categories in Lighthouse:
- Performance
- Progressive Web App
- Best practices
- Accessibility
- SEO
How to Launch Lighthouse in Chrome
To open Lighthouse, we can right-click on the webpage and click the Inspect
button.
This will open de Developer tools
. Now click the Lighthouse
tab.
You can also use `View > Developer > Developer Tools
Running a Lighthouse Audit in Chrome
We can select the categories we want to test to run the audit and click the generate report
button.
We then get a full report with tips on what we can improve.
The tips we get usually have links for more details on what google writes on it now (these do change).
Tips for Making Your Site Faster
Some general tips I’ve learned over the years
- Compress your images ImageOptim
- Make fewer CSS Requests (Rather have one or a few stylesheets instead of multiple)
- Make fewer JavaScript requests (Same as above)
- Leverage Browser Caching GtMetrix
- Don’t overdo on fonts loading (Use one/two external fonts)
Thank you for reading, and let’s connect!
Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter