O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating static assets

When deploying server-side Go web applications, it is commonplace to not only push out the binary executable file for the web server instance but also static asset files (CSS, JavaScript, template files, images, fonts, and so on) and template files. In traditional Go web applications, we would have to push out the individual template files to the production system, since traditional Go web applications would be dependent on having each individual file available in order to render the given template on the server-side.

Since we are utilizing the concept of a template set persisted in-memory through the running application, there is no need to bring along the individual template files to the production environment. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required