configures app to use memcached to cache json generation