These are chat archives for codebar/tutorials

20th
Apr 2014
emilycoats
@emilycoats
Apr 20 2014 00:18
Hello all, quick question. Heroku seems great for hosting RoR apps but what do people use for javascript only pages? Is Heroku still the choice or is there something lighter/simpler?
Baris Balic
@barisbalic
Apr 20 2014 00:18
You can try Github pages
Finding you a link now, but it could be considered equally complicated
emilycoats
@emilycoats
Apr 20 2014 00:21
Cool thanks. I take it heroku would also work though?
Baris Balic
@barisbalic
Apr 20 2014 00:22
Yeah heroku should work fine, but also heroku free tier will put your dyno to sleep if it's not getting much attention.
But that may not matter depending on what you are trying to do?
emilycoats
@emilycoats
Apr 20 2014 00:27
I don't know what you mean by 'put your dyno to sleep'...
Baris Balic
@barisbalic
Apr 20 2014 00:34
Ah okay, so heroku is probably fine, but when people don't visit for awhile, your site will effectively slow down for the next few visitors
emilycoats
@emilycoats
Apr 20 2014 00:35
ah ok. no I don't really mind about that, I'm just playing around
Baris Balic
@barisbalic
Apr 20 2014 00:35
So if noone visited for the next 5 minutes, it might go to sleep, then someone visits and its starts to wake up which is a bit slow for the first few requests
Excellent then either is fine
emilycoats
@emilycoats
Apr 20 2014 00:35
thanks for your help :)
Baris Balic
@barisbalic
Apr 20 2014 00:35
No problem, that's why we're here :)