News for hackers. Stuff that matters.
Re:The Baked Data architectural pattern by JensRantil on Thursday July 29, 2021 @10:26AM (#27996928)
The popular static site generator Hugo also supports static data in the form of a 'data' directory[1] where JSON files and other stuff can be stored.

[1] https://gohugo.io/templates/data-templates/#readout

Re:The Baked Data architectural pattern by simonw on Thursday July 29, 2021 @10:52AM (#27997232)
Hugo doesn't execute any server-side code at run-time though does it? I believe the content in that data directory is made available to the templates at compile time, but the actual deployed asset is still just static files.
Re:The Baked Data architectural pattern by JensRantil on Monday August 09, 2021 @12:08PM (#28118607)
Correct, but there's nothing stopping your from having a lambda function regenerating S3 content from Hugo periodically/by request.