News for hackers. Stuff that matters.
Re:Use App Engine and Go to Host a Static Website with Same ... by james_niro on Wednesday March 08, 2017 @01:13PM (#13822215)
I prefer Heroku over google cloud, better documentation and deploying is really easy.
Re:Use App Engine and Go to Host a Static Website with Same ... by PuffinBlue on Wednesday March 08, 2017 @01:32PM (#13822380)
Any time I hear 'Heroku' it's mentally followed by that 'it's going to be expensive' intake of air sound.

Is that prejudgement borne out in reality?

Re:Use App Engine and Go to Host a Static Website with Same ... by tyingq on Wednesday March 08, 2017 @03:17PM (#13823388)
$7 a month for the hobby plan doesn't seem that terrible.

But, serving static assets from Ruby seems heavy handed. You also end up writing code for things other environments would handle with configuration...like redirects, cache headers, and so forth.

Also, while $7 isn't a lot, it is a little more than other solutions in this hobby level space.

The suggestions for Netlify and Firebase seem better ideas for static content, and both allow for changing configuration instead of coding to satisfy the normal things you do for static assets. Both appear to be free at this hobby level as well.

Re:Use App Engine and Go to Host a Static Website with Same ... by kristianp on Wednesday March 08, 2017 @06:55PM (#13825179)
You can use Go with Heroku, with a buildpack [1]. There's a free plan, but it doesn't include SSL.

[1] https://github.com/heroku/heroku-buildpack-go

Re:Use App Engine and Go to Host a Static Website with Same ... by tyingq on Wednesday March 08, 2017 @07:01PM (#13825220)
The free plan also "sleeps" after inactivity, right? I assume that means a really long page load for the visitor that follows the inactivity? And, you're still left implementing caching, redirects, etc, in a language (Go or Ruby) vs configuration directives.

Just seems a poor option compared to other choices, at least for static content.