I was re-inspecting my homepage after some edits earlier today, and discovered — to my horror 😱 — that my perfect score was not so perfect anymore.
The Best Practices were down to 93%. Why?
After some digging, I found this post:
Lighthouse Complaining About CSP Violation
And ... it's right! If I add the unsafe-inline-entry to the styles-src of my content-security-policy, it's back at 100%.
I won't do that, of course — but interesting to notice, that Lighthouse itself can cause issues!
Top comments (1)
Thanks for finding out