Configure CACHES for memcached in heroku, memory in local