use memcache API only when this app is running on GAE