Re:Tell HN: I built a $5/mo JavaScript-free Rails app
by matt_s on Friday November 05, 2021 @07:58AM
(#29117988)
I thought you meant you were making $5/mo and was thinking "that is a low bar even I could prob achieve". Nice that you've pared down and optimized your stack to serve up customers with a tiny box.
Have you looked at the Hotwire stuff that came out for Rails? Basically it lets you server render pages but deliver request 2-N over web sockets, and it just delivers the bits that changed, per how you specify. There is client side JS needed but its batteries included.
I wonder if your app (and other cloud hosted) would benefit financially more with lower network ingress/egress byte counts and costs since it is page snippets instead of full-on JSON payloads like traditional JSFramework<->XHR<->JSON<->Backend stacks.
Have you looked at the Hotwire stuff that came out for Rails? Basically it lets you server render pages but deliver request 2-N over web sockets, and it just delivers the bits that changed, per how you specify. There is client side JS needed but its batteries included.
I wonder if your app (and other cloud hosted) would benefit financially more with lower network ingress/egress byte counts and costs since it is page snippets instead of full-on JSON payloads like traditional JSFramework<->XHR<->JSON<->Backend stacks.