0

I deployed a very simple nodejs app using expressjs. It has a few routes and static content with no database connection or anything. The problem is the ridiculously slow response of service. This is the link:

nodejs app deployed on heroku

It literally takes 10 seconds to load up for the first time, though faster in next requests obviously because of cache. Do I need to add paid dyno or add-on to make it faster?

Jora
  • 191
  • 2
  • 13

1 Answers1

0

If your application is running on free dyno, it goes to sleep when unused for 30 mins. You could find the information here.

You could verify the sleep by checking the logs heroku logs --tail.

You could add additional dyno other than free type to make it not to sleep. Dyno Types