website - https://secretsauce.design/
netlify account email - drew@secretsauce.design
project - secret-sauce
“next”: “^15.4.5”,
“next-sanity”: “^9.12.0”,
sanity api version - 2025-04-16
using Sanity CSM - live fetch - GitHub - sanity-io/next-sanity: Sanity toolkit for Next.js
Problem:
When visiting the site for the first time, most pages and specifically pages built SSG can sometimes take 15 seconds to load. When trying to navigate to them from the home page, the website will just sit and then after 15 seconds it will navigate. Navigating around and clicking on other links will also take 5-15secounds when loading them for the first time. After the first load things take about 0-2 seconds to load. See screenshot below for netlify logs.
I have similar websites using Contentful as a CMS and things seem to be loading as expected. No extreme load times.
I had the exact same issue with another website with nextjs + sanity. Moving the site over to Vercel instantly fixed theses issues. Things load instant. Based off of what has worked for me this issue is specific to netlify + sanity.
How can i fix these extreme load times?
