Real World Performance: lazy loading, optimizing media, faster analytics join us Wednesday

ContactSign Up
Ty Hopp

Ty Hopp

Senior Software Engineer, Framework

Scripts and the Head: What Goes Where?

When should scripts be put in the Gatsby Head and when should they be loaded by the Gatsby Script component in your pages or components? Let's dig in!

Ty Hopp
Ty Hopp August 4th, 2022

Gatsby 5, Head API, Script API

Using Gatsby Script Component to Decrease Page Load Times

© 2023 Gatsby, Inc.