What are the client and the server bundles? How do they work? #14525
-
What are the different client and the server bundles? How do they work? How do they affect performance? |
Beta Was this translation helpful? Give feedback.
Answered by
jamesmosier
Jun 26, 2020
Replies: 1 comment 3 replies
-
Client bundles are served to your users via their browser. Performance matters for the client bundle which Next does a great job optimizing. Server bundles are never "seen" by the user nor are they ever shipped to the end user in their browser. They are run in NodeJS on your server/hosting environment. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
jamesmosier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Client bundles are served to your users via their browser. Performance matters for the client bundle which Next does a great job optimizing.
Server bundles are never "seen" by the user nor are they ever shipped to the end user in their browser. They are run in NodeJS on your server/hosting environment.