Took me 2.5 hours how to speed up this page

twitter logo github logo ・1 min read

Whelp. I spent 2.5 hours trying to optimize images and improve my PageSpeed Insights score...

Only to find that it was a live chat widget was bringing us down to a 76. πŸ€¦β€β™‚οΈ

Once I removed it, our PageSpeed score shot up to a 98. πŸ™„

Video

Google says page speed is important for search rankings. We'll see if this works!

twitter logo DISCUSS (1)
markdown guide
 

How was the widget included?

Like this?

<script src="widget.js"></script>

Then try to do this:

<script src="widget.js" async></script>

or

<script src="widget.js" defer></script>

and move it into the head (usually before stylesheets, but depends on the script) if it wasn't there already.

That should make Google pagespeed happier!

Classic DEV Post from Dec 18 '18

How The Hell Do I use Map?

A quick and dirty guide to map.

Justin Jackson profile image
I’ve been working in SaaS since 2008. I was the Product Manager at Sprintly and Mailout, and have consulted for startups in London, San Francisco, and Portland. I help software devs with marketing.