DEV Community

Discussion on: Personal portfolio: Gatsby vs Next?

Collapse
 
merri profile image
Vesa Piittinen

Currently my working solution has been good old Server Side Includes. Yes, that is .shtml files. It isn't perfect, but works very well for a small personal site and it is simple. The challenging part is to split the repeating parts into their own HTML files and then include these as needed. The downside compared to pure HTML files is that you need to have a server running to be able to make sure you don't make mistakes before pushing changes to production.

However over time I probably make most of my smaller sites run on Deno + Oak. It is very simple to do the static parts with that combination and you don't really need to have any kind of bundle, build, or compile phase if you don't want to. And things feel much easier in general as there is no node_modules to deal with. I guess the biggest challenge is to make sure the Deno app keeps on running in production :)