Server-Side Rendering
Learn how to set up SSR for CanJS.
CanJS applications can be rendered on the server by running the same code that’s used in the browser. This is known as Isomorphic JavaScript or Universal JavaScript.
DoneJS
CanJS is part of the DoneJS framework, which includes SSR out of the box.
For information on using SSR without setting anything up yourself, check out the DoneJS quick start and in-depth guides.
On your own
Using can-vdom and can-zone, you can set up your own SSR system based on the APIs DoneJS uses for SSR. This is not for the faint of heart, so we encourage you to try DoneJS first before writing your own SSR system.