-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question of Server Side Caching #465
Comments
With Next.js you probably wanna use a your own version of API server. If you are using Next.js custom server feature, you can do anything you want. |
My API is on a different server and caching there has been taken care of. I'm more interested in implementing caching for SSR pages. I've read about the custom server feature and understand that it allows me to do pretty much what I want but I'm looking for suggestions. What would work best with next or does it matter from next perspective how I tackle this? |
Okay. I think we need an example on SSR caching. I'll work on it. |
Check this: #497 |
Excellent! |
Does next support any kind of server side caching?
In my use case I'm making quite a few requests to different API endpoints and the server waits for them to return to be able to set the initial state of the application. In minimum I'd like to cache the API responses for some time so that the server wouldn't need to call the API on every request. If caching the whole request result is possible that would be even better.
The text was updated successfully, but these errors were encountered: