Centralized data layer for multiple content sources or frameworks. Dive deep into Valhalla

ContactSign Up for Free

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

Introducing the Gatsby Head API

Using Gatsby Script Component to Decrease Page Load Times

Newer posts
Showing page  of  2

Categories & Updates

Get Gatsby updates to your inbox

Be the first to learn about new Gatsby features, best practices, and community events.
announcements (41)Gatsby Cloud (73)CMS (120)e-commerce (22)Agencies (23)Website Performance (60)Developer Experience (105)Marketer Workflows (39)Case Studies (85)Dynamic Functionality (37)security (9)life-at-gatsby (9)
© 2022 Gatsby, Inc.