Closed adborden closed 7 years ago
@tdooner is cloudflare hooked up to the heroku backend? If so it might be caching too aggressively. Making this code change means that we're going to hit a sleeping dyno every once in a while. Am I missing something?
@adborden Oops, missed this during travel. I'm not sure what you mean about cloudflare, I used it to get TLS for disclosure-backend-static.tdooner.com but it isn't in use for the heroku backend since heroku has a wildcard TLS for *.herokuapp.com.
And yeah, we're going to hit sleeping dynos I guess. Personally I think the tradeoffs are worth it since dynos are otherwise somewhat expensive for our barebones project. But I could be convinced otherwise. (And I'm happy to re-host this on my personal box that never sleeps once Flynn ships a more granular permissions model that would allow caciviclab members access to deploy only this application.)
:+1: yeah, I'm referring to the old tdooner.com
endpoint. I thought when you said heroku was all setup, you meant that the front end was already talking to it via some CNAME or something. Then digging into it all I could see was that it was pointing to cloudflare and unsure where it was going from there.
But sounds like this change was the correct one, I was just uncertain.
Use the heroku-based API which is getting updates. Hope it doesn't sleep :/