The initial score was 85 with my biggest issue being largest contentful paint.
How am I going to improve this?
First, I tried to add a srcset to improve the issue. This did not solve the problem. I looked up the directus docs to try something new. I changed every possible width of the image to also have a webp format, these files are usually exceptionally smaller.
Lighthouse audit
What was the initial score?
The initial score was 85 with my biggest issue being largest contentful paint.
How am I going to improve this?
First, I tried to add a
srcset
to improve the issue. This did not solve the problem. I looked up the directus docs to try something new. I changed every possible width of the image to also have awebp
format, these files are usually exceptionally smaller.Results
Thanks to the adjustment, the web page now scores 99 instead of 85, I'd say thats quite the improvement.