Added in-memory caching.
Merge pull request #24 from agrc/domains-cache

Added in-memory caching.