1

I am using heroku to host a clojure app using noir. Its the free account with one web dyno.

I have trouble in that the content of the site load, however the CSS doesnt load. On couple of refreshes it will load back properly. However if I was to again clear the browsers cache, and refresh, the same behavior is observed.

Thus all new users have a terrible experience, where only the raw conentent shows up the first time.

Any suggestions would be appreciated.

Thanks, Murtaza

murtaza52
  • 46,887
  • 28
  • 84
  • 120

1 Answers1

0

I resolved it by creating a server on EC2 and then serving the static resources using nginx. I am not sure how I would do that on heroku.

murtaza52
  • 46,887
  • 28
  • 84
  • 120