Added ability to do local only databases for caching.