I have a NextJS application without any getServerSideProps or other methods that call SSR and when i build my app it indicates with the circle
1:22:31 PM: ├ ○ /feed/[[…type]] (631 ms) 6.66 kB 902 kB
1:22:31 PM: ├ └ css/a7852c54b7020df8.css 237 B
1:22:31 PM: ├ ○ /group/[…id] (611 ms) 3.55 kB 907 kB
○ (Static) automatically rendered as static HTML (uses no initial props)
However when in my app logs it shows a lot of SSR requests in 6ms for every page.
Am I missing something? I dont get why those functions are getting called.
sid.m
June 4, 2024, 9:30pm
2
What site is this in reference to?
https://hub.cativa.digital
Site Id: 8da1c9af-25c7-425c-9847-311ac607165d
Every page that’s not found is expected to go through SSR before returning a 404.
But I showed in the previous image that those pages exists and were not build SSR
1:22:31 PM: ├ ○ /feed/[[…type]] (631 ms) 6.66 kB 902 kB
1:22:31 PM: ├ └ css/a7852c54b7020df8.css 237 B
1:22:31 PM: ├ ○ /group/[…id] (611 ms) 3.55 kB 907 kB
/feed exists and /group/id exists, however they were logged using SSR functions.
When i access them, both load normally but using SSR calls.
Any of those items that did not exist in the build will run on SSR. For example, your group/id
might be accepting 1-100 as the ID. But if you get 101 or any other random string like you got in the log that you posted, that would be SSR. Same goes for others. Does the exact page that’s posted in the log exist?