News for hackers. Stuff that matters.
Re:Try Clojure by createaccount99 on Thursday May 23, 2024 @02:20AM (#40451115)
Does your setup do code splitting, SSG? I can't really be shipping a blank html file in 2024, destroys SEO. Otherwise am interested in trying.
Re:Try Clojure by nathants on Thursday May 23, 2024 @02:26AM (#40451158)
no, i’m not interested in seo.

this setup is a single go binary that serves a single pre-gzipped html file from a lambda.

that html file contains inlined js, that is a reagent app.

there is also a favicon. total of 3 files in the lambda zip.

you desired setup is certainly possible though. you’d probably want clojure on the backend though, so you could more easily do SSG.