use memcache to cache json and some configurations for heroku