Playabl-io / playabl

https://app.playabl.io
GNU Affero General Public License v3.0
7 stars 3 forks source link

Support server rendering #209

Open jongrim opened 11 months ago

jongrim commented 11 months ago

Server rendering would improve load speed, and allow for better SEO and social sharing. Unfortunately, I made the dumb choice to not use a server rendering framework from the start.

A full rewrite is undesirable, so I'm interested in if there is a way to migrate specific pages and convert over time. I think I'd put the priority order as:

jongrim commented 9 months ago

Another possible option might be to crawl the public facing pages like games and communities, and generate static versions that can be served for crawlers: https://medium.com/front-end-weekly/building-a-pre-renderer-for-spas-108f956f8b

This would still require some fundamental changes to the app architecture, but maybe it can help get it to a reasonable effort level?

jongrim commented 9 months ago

One other thought I've been having for a possible path:

Possible frameworks for server rendering: