#Working with 500+ slugs
2 messages · Page 1 of 1 (latest)
It only calls getstaticpaths when the site is built or if you’re developing locally and refreshing the page afaik
2 messages · Page 1 of 1 (latest)
Hey there, I've started to build an ecommerce site and there are a lot of product pages. Every time I look at a page next will grab all the slugs from the API which is probably a waste of requests.. The only way around I think is to disable getStaticPaths based on NODE_ENV? Whaddya think?\
It only calls getstaticpaths when the site is built or if you’re developing locally and refreshing the page afaik