Closed
Description
Which scope/s are relevant/related to the feature request?
router
Information
Using static side generation with server side data fetching,
the server side data requests are retrieved from cache on the first request only. This cache is then cleared and therefore subsequent requests won't work if the API is not deployed.
There are use cases where no fresh data fetching is required, it is sufficient if this data is only generated during build / static site generation and then re-used all the time.
It would be great to have a configuration option to achieve that so that the client won't try to access the /api endpoint
Describe any alternatives/workarounds you're currently using
No response
I would be willing to submit a PR to fix this issue
- Yes
- No