Server Side Rendering on Site

Hi everyone,
I just read about server side rendering here in the Forum, and I want to implement that onto my website ASAP.
Does anyone have any thoughts or ideas on what are the best ways to implement this on every page of my website?

I did find this, but still don’t get a very hard grasp of the concept.


import {local} from 'wix-storage'; 
import wixWindow from 'wix-window';      
$w.onReady(function () { 
if (wixWindow.rendering.env === "browser") { 
/*Do I basically just put all of my page/site code here,    
except from import/export?     */ } 
});

I appreciate any comments or suggestions,
Thanks!

Hi Nic. No, you do not. Only the stuff that cannot be rendered server-side, like browser storage, cookies, sessions, and things like toLocaleDateString(). These things are browser-dependant and those, and only those, should be rendered browser-side.

Great, thank you!!