morehumaninternet / roar-server

GNU General Public License v3.0
0 stars 0 forks source link

Generate Roar's landing page statically #72

Open shachar-langer opened 3 years ago

shachar-langer commented 3 years ago

Currently, we use koa-react-views and JSX to create the files we serve to the client. This method is known as server-side rendering (SSR). Every time a user requests our landing page, we render it on the server-side and send the final files to the browser. Our landing page is static. That means that the content doesn't change. We should generate the files we serve while building the server and not on every request.