implemented caching
Ensuring caching works across multiple instances
Merge pull request #25 from rhyolight/caching

implemented caching