I noticed that even though I no longer use generateStaticParams in my codebase (removed August 16th), I have still had over 170,000 ISR writes since removing all generateStaticParams() usage in my codebase. My assumption is it’s something in my [slug] page https://github.com/JamesSingleton/redshirt-sports/blob/main/apps/web/app/[slug]/page.tsx but I honestly have no idea.
In reading https://vercel.com/docs/incremental-static-regeneration/limits-and-pricing#optimizing-isr-reads-and-writes, it mentions to make sure you’re not using new Date()… Well that’s kind of hard to do when you have to show dates in your blog post or add dates to your ld+json .
I switched as much as I could to use date-fns and date-fns-tz. However, I still need it for new Date().getFullYear() for things like copyright in my ld+json scripts as well as the footer.
Is there even a replacement for this?















