matsko
matsko

Reputation: 22183

Heroku and Static HTML

If I run a website that contains a lot of static HTML code + JSON data then is there a way to have heroku serve HTML files directly without having to use it's Rack stack?

Upvotes: 0

Views: 739

Answers (1)

Cory Dolphin
Cory Dolphin

Reputation: 2670

No, there is not. Two common options are to either:

  1. Use Rack::Cache to speed up the access time
  2. Host the files on S3 and serve a redirect to the S3 URL.

Upvotes: 1

Related Questions