https://github.com/zaydek/go-ssr
Go for SSR experimentation
https://github.com/zaydek/go-ssr
Last synced: over 1 year ago
JSON representation
Go for SSR experimentation
- Host: GitHub
- URL: https://github.com/zaydek/go-ssr
- Owner: zaydek
- Created: 2021-03-22T06:58:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-22T10:04:21.000Z (over 5 years ago)
- Last Synced: 2025-01-24T19:17:18.111Z (over 1 year ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-ssr
This is a small experiment to see what’s possible with Go SSR (server-side rendering). The idea is to play to Go
strengths; simplicity, predictability, etc. and to use it for server-side rendering versus server-side rendering React.
Ultimately, the idea is to combine this approach with client-side rendered React so that pages are indexable by default
(because of static meta tags, which are dynamic but generated on the server). This mitigates many concerns; users get
client-side experiences while Google and bots can scrape site previews, and developers don’t need to think about SSR
concerns.
Finally, this approach should be applicable to any framework. Nothing about this approach in general should be concerned
with the implementation details of the client-side bundle. This does not implement client-side JavaScript but could be
adapted to as a starting point.