Bugfix of externalId check
Change cache time to 10 minutes
Add memcache